mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #2910 from randrey/dlna-extra-mime-types
Additional mime types for DLNA (VLC) (cherry picked from commit c35e6ac39a211c901980ceef145104fd61d3ef00) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
d8f865e93c
commit
16d9318e08
@ -107,6 +107,7 @@ namespace MediaBrowser.Model.Net
|
|||||||
{ ".3g2", "video/3gpp2" },
|
{ ".3g2", "video/3gpp2" },
|
||||||
{ ".mpd", "video/vnd.mpeg.dash.mpd" },
|
{ ".mpd", "video/vnd.mpeg.dash.mpd" },
|
||||||
{ ".ts", "video/mp2t" },
|
{ ".ts", "video/mp2t" },
|
||||||
|
{ ".mpegts", "video/mp2t" },
|
||||||
|
|
||||||
// Type audio
|
// Type audio
|
||||||
{ ".mp3", "audio/mpeg" },
|
{ ".mp3", "audio/mpeg" },
|
||||||
@ -124,6 +125,8 @@ namespace MediaBrowser.Model.Net
|
|||||||
{ ".xsp", "audio/xsp" },
|
{ ".xsp", "audio/xsp" },
|
||||||
{ ".dsp", "audio/dsp" },
|
{ ".dsp", "audio/dsp" },
|
||||||
{ ".flac", "audio/flac" },
|
{ ".flac", "audio/flac" },
|
||||||
|
{ ".ape", "audio/x-ape" },
|
||||||
|
{ ".wv", "audio/x-wavpack" },
|
||||||
};
|
};
|
||||||
|
|
||||||
private static readonly Dictionary<string, string> _extensionLookup = CreateExtensionLookup();
|
private static readonly Dictionary<string, string> _extensionLookup = CreateExtensionLookup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user