Merge pull request #2910 from randrey/dlna-extra-mime-types

Additional mime types for DLNA (VLC)
This commit is contained in:
dkanada 2020-04-19 11:38:25 +09:00 committed by GitHub
commit c35e6ac39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,7 @@ namespace MediaBrowser.Model.Net
{ ".3g2", "video/3gpp2" },
{ ".mpd", "video/vnd.mpeg.dash.mpd" },
{ ".ts", "video/mp2t" },
{ ".mpegts", "video/mp2t" },
// Type audio
{ ".mp3", "audio/mpeg" },
@ -123,6 +124,8 @@ namespace MediaBrowser.Model.Net
{ ".xsp", "audio/xsp" },
{ ".dsp", "audio/dsp" },
{ ".flac", "audio/flac" },
{ ".ape", "audio/x-ape" },
{ ".wv", "audio/x-wavpack" },
};
private static readonly Dictionary<string, string> _extensionLookup = CreateExtensionLookup();