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:
jcorporation 2022-03-13 17:08:58 +01:00 committed by Max Kellermann
parent 8f84e1befd
commit 5ad1a01d7a
2 changed files with 3 additions and 2 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.23.6 (not yet released)
* protocol
- support filename "cover.webp" for "albumart" command
* decoder
- ffmpeg: fix end-of-file check (update stuck at empty files)
- opus: fix "readpicture" on Opus files

View File

@ -160,8 +160,7 @@ find_stream_art(std::string_view directory, Mutex &mutex)
static constexpr auto art_names = std::array {
"cover.png",
"cover.jpg",
"cover.tiff",
"cover.bmp",
"cover.webp",
};
for(const auto name : art_names) {