Fixed mimetype for dsf files, ref #462

This commit is contained in:
emeric
2024-05-11 11:57:12 +02:00
parent 91812469a9
commit 02a0d4a593
+2 -2
View File
@@ -300,7 +300,7 @@ namespace lms::av
// List should be sync with the demuxers shipped in the lms's docker version
// + the _audioFileExtensions in ScanSettings
// 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"},
{".ogg", "audio/ogg"},
@@ -321,7 +321,7 @@ namespace lms::av
{".aiff", "audio/x-aiff"},
{".m3u", "audio/x-mpegurl"},
{".pls", "audio/x-scpls"},
{".dsf", "audio/dsd"},
{".dsf", "audio/x-dsd"},
{".wv", "audio/x-wavpack"},
{".wvp", "audio/x-wavpack"},
{".mka", "audio/x-matroska"},