aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-03-27 22:16:59 -0700
committerScott Jackson <daneren2005@gmail.com>2014-03-27 22:16:59 -0700
commit5ad11fad251cce033b54abd1e79c12a540630b24 (patch)
treeaa97290bfe6cb17ed931d074cd94273e55110036
parentb74cf937a261d4952787e4534a8c7e49f8804663 (diff)
downloaddsub-5ad11fad251cce033b54abd1e79c12a540630b24.tar.gz
dsub-5ad11fad251cce033b54abd1e79c12a540630b24.tar.bz2
dsub-5ad11fad251cce033b54abd1e79c12a540630b24.zip
Fix edge case issue with cover art from multiple Artist/Disc # albums
-rw-r--r--src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java b/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java
index dcf9fd30..2957712e 100644
--- a/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java
+++ b/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java
@@ -44,9 +44,9 @@ public class MusicDirectoryEntryParser extends AbstractParser {
entry.setStarred(get("starred") != null);
entry.setYear(getInteger("year"));
entry.setGenre(get("genre"));
+ entry.setAlbum(get("album"));
if (!entry.isDirectory()) {
- entry.setAlbum(get("album"));
entry.setAlbumId(get("albumId"));
entry.setTrack(getInteger("track"));
entry.setContentType(get("contentType"));