update mjpeg stream detection

This commit is contained in:
Luke Pulverenti
2017-03-07 14:05:44 -05:00
parent 9fa6868af3
commit 1f63a30ee7
4 changed files with 30 additions and 8 deletions

View File

@@ -322,6 +322,9 @@ namespace MediaBrowser.Model.Net
throw new ArgumentNullException("mimeType");
}
// handle text/html; charset=UTF-8
mimeType = mimeType.Split(';')[0];
string result;
if (ExtensionLookup.TryGetValue(mimeType, out result))
{