mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-17 23:55:21 +01:00
Look also for WebP files as external artwork
This commit is contained in:
parent
eb4876a6d6
commit
5069029e08
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ import java.io.InputStream;
|
||||||
public class AudioFileCoverUtils {
|
public class AudioFileCoverUtils {
|
||||||
|
|
||||||
public static final String[] FALLBACKS = {
|
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 {
|
public static InputStream fallback(String path) throws FileNotFoundException {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue