aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-14 14:11:42 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-14 14:11:42 -0700
commit7469290d2f4ce7eb785f07866286337596802a28 (patch)
tree7b1ee3005d617b00486e21f944b1fd1a5b17da6d /src
parentf469e63cc5dd3f8a8af38bc4a97da8c3f24952d9 (diff)
downloaddsub-7469290d2f4ce7eb785f07866286337596802a28.tar.gz
dsub-7469290d2f4ce7eb785f07866286337596802a28.tar.bz2
dsub-7469290d2f4ce7eb785f07866286337596802a28.zip
Make sure artists in starred list have isAlbum evaluate to false
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/parser/StarredListParser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/parser/StarredListParser.java b/src/github/daneren2005/dsub/service/parser/StarredListParser.java
index 6328d1b0..59652e29 100644
--- a/src/github/daneren2005/dsub/service/parser/StarredListParser.java
+++ b/src/github/daneren2005/dsub/service/parser/StarredListParser.java
@@ -53,6 +53,8 @@ public class StarredListParser extends MusicDirectoryEntryParser {
} else if("artist".equals(name)) {
MusicDirectory.Entry entry = parseArtist();
entry.setDirectory(true);
+ entry.setArtist(null);
+ entry.setParent(null);
dir.addChild(entry);
} else if ("error".equals(name)) {
handleError();
@@ -64,4 +66,4 @@ public class StarredListParser extends MusicDirectoryEntryParser {
return dir;
}
-} \ No newline at end of file
+}