From 98c21907354686a9cb1b7adaeb1ff0a9705e1aac Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 17 Jul 2014 13:23:14 -0700 Subject: Use artist arg for starring --- src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/github/daneren2005') 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); -- cgit v1.2.3