diff --git a/src/libs/av/impl/AudioFile.cpp b/src/libs/av/impl/AudioFile.cpp index 346fe074..33372075 100644 --- a/src/libs/av/impl/AudioFile.cpp +++ b/src/libs/av/impl/AudioFile.cpp @@ -28,6 +28,8 @@ extern "C" } #include +#include +#include #include "utils/Logger.hpp" #include "utils/String.hpp" @@ -290,7 +292,8 @@ namespace Av { // List should be sync with the demuxers shipped in the lms's docker version // + the _audioFileExtensions in ScanSettings - static const std::unordered_map entries + // std::filesystem::path does not seem to have std::hash specialization on freebsd + static const std::map entries { {".mp3", "audio/mpeg"}, {".ogg", "audio/ogg"},