diff --git a/src/main/java/musicplayer/model/Album.java b/src/main/java/musicplayer/model/Album.java index 4cfad77..fc233a8 100644 --- a/src/main/java/musicplayer/model/Album.java +++ b/src/main/java/musicplayer/model/Album.java @@ -34,7 +34,7 @@ public class Album implements Comparable, IDBType, HasSongs { private Set songs; @Transient - private static final String albumArtRegex = ".*(Cover|Folder|cover|folder)\\.(jpg|png)"; + private static final String albumArtRegex = "*{Cover,Folder,cover,folder}\\.{jpg,png}"; @Transient private static final int imageScaleToSize = 50;