Fixed mimetype for dsf files, ref #462
This commit is contained in:
@@ -300,7 +300,7 @@ namespace lms::av
|
|||||||
// List should be sync with the demuxers shipped in the lms's docker version
|
// List should be sync with the demuxers shipped in the lms's docker version
|
||||||
// + the _audioFileExtensions in ScanSettings
|
// + the _audioFileExtensions in ScanSettings
|
||||||
// std::filesystem::path does not seem to have std::hash specialization on freebsd
|
// std::filesystem::path does not seem to have std::hash specialization on freebsd
|
||||||
static const std::unordered_map<std::string, std::string_view> entries
|
static const std::unordered_map<std::string_view, std::string_view> entries
|
||||||
{
|
{
|
||||||
{".mp3", "audio/mpeg"},
|
{".mp3", "audio/mpeg"},
|
||||||
{".ogg", "audio/ogg"},
|
{".ogg", "audio/ogg"},
|
||||||
@@ -321,7 +321,7 @@ namespace lms::av
|
|||||||
{".aiff", "audio/x-aiff"},
|
{".aiff", "audio/x-aiff"},
|
||||||
{".m3u", "audio/x-mpegurl"},
|
{".m3u", "audio/x-mpegurl"},
|
||||||
{".pls", "audio/x-scpls"},
|
{".pls", "audio/x-scpls"},
|
||||||
{".dsf", "audio/dsd"},
|
{".dsf", "audio/x-dsd"},
|
||||||
{".wv", "audio/x-wavpack"},
|
{".wv", "audio/x-wavpack"},
|
||||||
{".wvp", "audio/x-wavpack"},
|
{".wvp", "audio/x-wavpack"},
|
||||||
{".mka", "audio/x-matroska"},
|
{".mka", "audio/x-matroska"},
|
||||||
|
|||||||
Reference in New Issue
Block a user