aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-03-23 22:05:46 -0700
committerScott Jackson <daneren2005@gmail.com>2014-03-23 22:05:46 -0700
commit5748aed2408a4e5c03b202fd204e78ad1cff23aa (patch)
tree6bdaa0b63d8b2a15e1a17d7bb23f993f07b36543 /src
parent728a081194b555d5b57b64cdce58c3931a483500 (diff)
downloaddsub-5748aed2408a4e5c03b202fd204e78ad1cff23aa.tar.gz
dsub-5748aed2408a4e5c03b202fd204e78ad1cff23aa.tar.bz2
dsub-5748aed2408a4e5c03b202fd204e78ad1cff23aa.zip
If no artist to lookup, just display album view
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java2
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);
}