mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-17 23:55:21 +01:00
Merge pull request #1481 from MGislv/patch-1
Look also for WebP files as external artwork
This commit is contained in:
commit
0d08aea89f
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue