From 203805bdaec6745eb509e49edefd10e2cf045c57 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Thu, 18 Aug 2016 22:34:14 +0100 Subject: [PATCH] Fixed glob for finding album art in directories. --- src/main/java/musicplayer/model/Album.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;