diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-27 22:16:59 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-27 22:16:59 -0700 |
commit | 5ad11fad251cce033b54abd1e79c12a540630b24 (patch) | |
tree | aa97290bfe6cb17ed931d074cd94273e55110036 | |
parent | b74cf937a261d4952787e4534a8c7e49f8804663 (diff) | |
download | dsub-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.java | 2 |
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")); |