mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
support srt in didl
This commit is contained in:
@@ -236,6 +236,11 @@ namespace MediaBrowser.Common.Net
|
||||
return "text/vtt";
|
||||
}
|
||||
|
||||
if (ext.Equals(".ttml", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "application/ttml+xml";
|
||||
}
|
||||
|
||||
if (ext.Equals(".bif", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "application/octet-stream";
|
||||
|
||||
Reference in New Issue
Block a user