aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-17 13:23:14 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-17 13:23:14 -0700
commit98c21907354686a9cb1b7adaeb1ff0a9705e1aac (patch)
tree31012070ba51bd94d7f06a553515156833623a59 /src/github/daneren2005
parent90b263f2ac1d028c9769c27fde6f7d755c00b8f2 (diff)
downloaddsub-98c21907354686a9cb1b7adaeb1ff0a9705e1aac.tar.gz
dsub-98c21907354686a9cb1b7adaeb1ff0a9705e1aac.tar.bz2
dsub-98c21907354686a9cb1b7adaeb1ff0a9705e1aac.zip
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 b935f065..278908e8 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(entry.getParent() == null || entry.getArtist() == null) {
+ if(artist) {
musicService.setStarred(null, Arrays.asList(entry.getId()), null, starred, context, null);
} else {
musicService.setStarred(null, null, Arrays.asList(entry.getId()), starred, context, null);