Added a fallback to ffmpeg parser in case of audio properties are not properly decoded, ref #781
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
|
||||
#include "ImageCache.hpp"
|
||||
|
||||
namespace lms::audio
|
||||
{
|
||||
class IAudioFileInfoParser;
|
||||
}
|
||||
|
||||
namespace lms::db
|
||||
{
|
||||
class Session;
|
||||
@@ -65,6 +70,7 @@ namespace lms::artwork
|
||||
ImageCache _cache;
|
||||
std::shared_ptr<image::IEncodedImage> _defaultReleaseCover;
|
||||
std::shared_ptr<image::IEncodedImage> _defaultArtistImage;
|
||||
std::unique_ptr<audio::IAudioFileInfoParser> _audioFileInfoParser;
|
||||
|
||||
static inline const std::vector<std::filesystem::path> _fileExtensions{ ".jpg", ".jpeg", ".png", ".bmp" }; // TODO parametrize
|
||||
unsigned _jpegQuality;
|
||||
|
||||
Reference in New Issue
Block a user