aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorowner <owner@DeeDee-Laptop>2012-11-23 12:38:45 -0800
committerowner <owner@DeeDee-Laptop>2012-11-23 12:38:45 -0800
commit64a92b7d8243ac376385c8ed0ba65f84179e4e5e (patch)
tree9b7c3c6fff9ce479094bd5ba79da3b78c6c0adcf /subsonic-android
parentffeb88092eb1be96d9bbb843bfe7d855b8abab67 (diff)
downloaddsub-64a92b7d8243ac376385c8ed0ba65f84179e4e5e.tar.gz
dsub-64a92b7d8243ac376385c8ed0ba65f84179e4e5e.tar.bz2
dsub-64a92b7d8243ac376385c8ed0ba65f84179e4e5e.zip
Remove cached playlists when adding new playlist
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
index 4cd878b5..42fd8e57 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -146,6 +146,7 @@ public class CachedMusicService implements MusicService {
@Override
public void createPlaylist(String id, String name, List<MusicDirectory.Entry> entries, Context context, ProgressListener progressListener) throws Exception {
+ cachedPlaylists.clear();
musicService.createPlaylist(id, name, entries, context, progressListener);
}