fixes #674 - Support converting subtitles to webvtt

This commit is contained in:
Luke Pulverenti
2014-06-11 10:42:03 -04:00
parent 437062b29e
commit 77ad0fc336
18 changed files with 726 additions and 39 deletions

View File

@@ -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);
}
}