Merge pull request #1481 from MGislv/patch-1

Look also for WebP files as external artwork
This commit is contained in:
Prathamesh More 2023-04-04 23:43:06 +05:30 committed by GitHub
commit 0d08aea89f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,9 @@ import java.io.InputStream;
public class AudioFileCoverUtils {
public static final String[] FALLBACKS = {
"cover.jpg", "album.jpg", "folder.jpg", "cover.png", "album.png", "folder.png"
"cover.jpg", "album.jpg", "folder.jpg",
"cover.png", "album.png", "folder.png",
"cover.webp", "album.webp", "folder.webp"
};
public static InputStream fallback(String path) throws FileNotFoundException {