aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-17 22:03:59 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-17 22:03:59 -0700
commite8a9ef6119105069140261bbfeda7f6efa1dd55d (patch)
treeb59179df385091fc7cdf3c33754d68f8fdd234b8 /src/github/daneren2005
parent98c21907354686a9cb1b7adaeb1ff0a9705e1aac (diff)
downloaddsub-e8a9ef6119105069140261bbfeda7f6efa1dd55d.tar.gz
dsub-e8a9ef6119105069140261bbfeda7f6efa1dd55d.tar.bz2
dsub-e8a9ef6119105069140261bbfeda7f6efa1dd55d.zip
Revert 'Use artist arg for starring'
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 278908e8..b935f065 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -644,7 +644,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
protected Void doInBackground() throws Throwable {
MusicService musicService = MusicServiceFactory.getMusicService(context);
if(entry.isDirectory() && Util.isTagBrowsing(context) && !Util.isOffline(context)) {
- if(artist) {
+ if(entry.getParent() == null || entry.getArtist() == null) {
musicService.setStarred(null, Arrays.asList(entry.getId()), null, starred, context, null);
} else {
musicService.setStarred(null, null, Arrays.asList(entry.getId()), starred, context, null);