From 5ad1a01d7ade6e6220f392c709808e3334cd01a7 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Sun, 13 Mar 2022 17:08:58 +0100 Subject: [PATCH] Remove bmp, tiff and add webp for coverimage filenames - supporting bmp and tiff seems outdated - webp is more widely used for coverimages --- NEWS | 2 ++ src/command/FileCommands.cxx | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 74c5de4e4..daa2b77a7 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index 006dedf28..c27eaeb79 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -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) {