add more subtitles mime types to mimetype2ext and fix the platform subtitle extraction

This commit is contained in:
remitamine committed 2016-02-20 22:02:03 +01:00
1 parent 7360db05b4
commit cafcf657a4
3 files changed
+8 -11

No files matched your search

+4
View File
@@ -1846,7 +1846,11 @@ def mimetype2ext(mt):
return {
'3gpp': '3gp',
'smptett+xml': 'tt',
'srt': 'srt',
'ttaf+xml': 'dfxp',
'ttml+xml': 'ttml',
'vtt': 'vtt',
'x-flv': 'flv',
'x-mp4-fragmented': 'mp4',
'x-ms-wmv': 'wmv',