Remove bmp, tiff and add webp for coverimage filenames
- supporting bmp and tiff seems outdated - webp is more widely used for coverimages
This commit is contained in:
parent
8f84e1befd
commit
5ad1a01d7a
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
||||||
ver 0.23.6 (not yet released)
|
ver 0.23.6 (not yet released)
|
||||||
|
* protocol
|
||||||
|
- support filename "cover.webp" for "albumart" command
|
||||||
* decoder
|
* decoder
|
||||||
- ffmpeg: fix end-of-file check (update stuck at empty files)
|
- ffmpeg: fix end-of-file check (update stuck at empty files)
|
||||||
- opus: fix "readpicture" on Opus files
|
- opus: fix "readpicture" on Opus files
|
||||||
|
|
|
@ -160,8 +160,7 @@ find_stream_art(std::string_view directory, Mutex &mutex)
|
||||||
static constexpr auto art_names = std::array {
|
static constexpr auto art_names = std::array {
|
||||||
"cover.png",
|
"cover.png",
|
||||||
"cover.jpg",
|
"cover.jpg",
|
||||||
"cover.tiff",
|
"cover.webp",
|
||||||
"cover.bmp",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
for(const auto name : art_names) {
|
for(const auto name : art_names) {
|
||||||
|
|
Loading…
Reference in New Issue