[utils] mimetype2ext: Recognize more srt types (#15411)

Authored by: seproDev
This commit is contained in:
sepro 2025-12-26 19:00:45 +01:00 committed by GitHub
parent 6b23305822
commit c0a7c594a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3004,6 +3004,8 @@ def mimetype2ext(mt, default=NO_DEFAULT):
'ttaf+xml': 'dfxp', 'ttaf+xml': 'dfxp',
'ttml+xml': 'ttml', 'ttml+xml': 'ttml',
'x-ms-sami': 'sami', 'x-ms-sami': 'sami',
'x-subrip': 'srt',
'x-srt': 'srt',
# misc # misc
'gzip': 'gz', 'gzip': 'gz',