Made preferred file names for cover configurable. fixes #238

This commit is contained in:
emeric
2022-05-30 20:02:36 +02:00
parent 88e117ccde
commit c4005c5183
3 changed files with 20 additions and 1 deletions
@@ -129,7 +129,7 @@ namespace Cover
const std::size_t _maxCacheSize;
static inline const std::vector<std::filesystem::path> _fileExtensions {".jpg", ".jpeg", ".png", ".bmp"}; // TODO parametrize
const std::size_t _maxFileSize;
static inline const std::vector<std::string> _preferredFileNames {"cover", "front"}; // TODO parametrize
const std::vector<std::string> _preferredFileNames;
unsigned _jpegQuality;
};