aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-11-14 13:44:43 -0800
committerScott Jackson <daneren2005@gmail.com>2014-11-14 13:44:43 -0800
commit8894de0903f85a04c4184a1fe02d1d9902eb5e6c (patch)
tree60aa95798bd774c49d46725a9066ab5bbaf9992c
parent94678d7f754dfcd38be36c1fc7b9b646dbf83d87 (diff)
downloaddsub-8894de0903f85a04c4184a1fe02d1d9902eb5e6c.tar.gz
dsub-8894de0903f85a04c4184a1fe02d1d9902eb5e6c.tar.bz2
dsub-8894de0903f85a04c4184a1fe02d1d9902eb5e6c.zip
Fix cache from playlist triggering download of starred songs
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index a8b4ab38..b04f953c 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -905,6 +905,10 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
checkLicenseAndTrialPeriod(onValid);
}
private void downloadBackground(final boolean save) {
+ if(playlistId != null) {
+ selectAll(true, false);
+ }
+
List<Entry> songs = getSelectedSongs();
if(songs.isEmpty()) {
// Get both songs and albums