mirror of
https://github.com/sudoxnym/fin-assistant.git
synced 2026-04-14 11:37:38 +00:00
CHG: proper mime-types
This commit is contained in:
parent
001d1ee150
commit
ae17305cfb
1 changed files with 3 additions and 3 deletions
|
|
@ -158,12 +158,12 @@ def Type2Mediatype(type):
|
|||
|
||||
def Type2Mimetype(type):
|
||||
switcher = {
|
||||
"Movie": "video/unknown",
|
||||
"Movie": "video/mp4",
|
||||
"Series": MEDIA_TYPE_TVSHOW,
|
||||
"Season": MEDIA_TYPE_SEASON,
|
||||
"Episode": "video/unknown",
|
||||
"Episode": "video/mp4",
|
||||
"Music": MEDIA_TYPE_ALBUM,
|
||||
"Audio": "audio/unknown",
|
||||
"Audio": "audio/mp3",
|
||||
"BoxSet": MEDIA_CLASS_DIRECTORY,
|
||||
"Folder": MEDIA_CLASS_DIRECTORY,
|
||||
"CollectionFolder": MEDIA_CLASS_DIRECTORY,
|
||||
|
|
|
|||
Loading…
Reference in a new issue