diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-23 22:05:46 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-23 22:05:46 -0700 |
commit | 5748aed2408a4e5c03b202fd204e78ad1cff23aa (patch) | |
tree | 6bdaa0b63d8b2a15e1a17d7bb23f993f07b36543 | |
parent | 728a081194b555d5b57b64cdce58c3931a483500 (diff) | |
download | dsub-5748aed2408a4e5c03b202fd204e78ad1cff23aa.tar.gz dsub-5748aed2408a4e5c03b202fd204e78ad1cff23aa.tar.bz2 dsub-5748aed2408a4e5c03b202fd204e78ad1cff23aa.zip |
If no artist to lookup, just display album view
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index 870d6549..edfff31e 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -399,7 +399,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter protected MusicDirectory load(MusicService service) throws Exception {
MusicDirectory dir = getMusicDirectory(id, name, refresh, service, this);
- if(lookupParent) {
+ if(lookupParent && dir.getParent() != null) {
dir = getMusicDirectory(dir.getParent(), name, refresh, service, this);
}
|