aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-17 13:02:07 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-17 13:02:07 -0700
commitbb638864dac16544b9fd8d1e63b8b40be524ddc1 (patch)
tree0b7eb442f9f492d63b8c4ee3e154e5911e02230e
parentfe2a21686c9b46f8ec6decd01d909983dd7f96bb (diff)
downloaddsub-bb638864dac16544b9fd8d1e63b8b40be524ddc1.tar.gz
dsub-bb638864dac16544b9fd8d1e63b8b40be524ddc1.tar.bz2
dsub-bb638864dac16544b9fd8d1e63b8b40be524ddc1.zip
If id is null, then looking at starred list
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 1a5f3ea4..b935f065 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -744,7 +744,11 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
root = share.getMusicDirectory();
}
else if(isDirectory) {
- root = getMusicDirectory(id, name, false, musicService, this);
+ if(id != null) {
+ root = getMusicDirectory(id, name, false, musicService, this);
+ } else {
+ root = musicService.getStarredList(context, this);
+ }
}
else {
root = musicService.getPlaylist(true, id, name, context, this);