From 6c92fbd8de6a8aaae4c5b0f70a545b58e927f9ab Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Thu, 10 Oct 2019 12:41:52 -0400 Subject: [PATCH] add oga and ogv mime types https://gingertech.net/2008/09/05/new-ogg-mime-types-ratified/#targetText=The%20new%20Ogg%20MIME%20types,I%20files%20for%20backwards%20compatibility. --- lbry/lbry/schema/mime_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbry/lbry/schema/mime_types.py b/lbry/lbry/schema/mime_types.py index 8f711561c..f873db897 100644 --- a/lbry/lbry/schema/mime_types.py +++ b/lbry/lbry/schema/mime_types.py @@ -146,6 +146,8 @@ types_map = { '.midi': ('audio/midi', 'audio'), '.mkv': ('video/x-matroska', 'video'), '.mobi': ('application/x-mobipocket-ebook', 'document'), + '.oga': ('audio/ogg', 'audio'), + '.ogv': ('video/ogg', 'video'), '.pct': ('image/pict', 'image'), '.pic': ('image/pict', 'image'), '.pict': ('image/pict', 'image'),