mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-18 20:24:20 +01:00
fixes #674 - Support converting subtitles to webvtt
This commit is contained in:
@@ -223,6 +223,11 @@ namespace MediaBrowser.Common.Net
|
||||
return "text/plain";
|
||||
}
|
||||
|
||||
if (ext.Equals(".vtt", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "text/vtt";
|
||||
}
|
||||
|
||||
throw new ArgumentException("Argument not supported: " + path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user