aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-07-02 23:02:32 -0700
committerScott Jackson <daneren2005@gmail.com>2013-07-02 23:02:32 -0700
commit4873d4b726981f55f389e965c0ecd70cb596acb8 (patch)
tree1ff52f1722afcc159254123cfdcb49daa41bca92
parent0327e2f5ea0e65fb07cc509ecd9705a48a68ee49 (diff)
downloaddsub-4873d4b726981f55f389e965c0ecd70cb596acb8.tar.gz
dsub-4873d4b726981f55f389e965c0ecd70cb596acb8.tar.bz2
dsub-4873d4b726981f55f389e965c0ecd70cb596acb8.zip
Fix podcasts not being invalidated when switching servers
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java2
1 files changed, 2 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 0074e29b..8472281a 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -307,6 +307,7 @@ public class CachedMusicService implements MusicService {
@Override
public List<PodcastChannel> getPodcastChannels(boolean refresh, Context context, ProgressListener progressListener) throws Exception {
+ checkSettingsChanged(context);
List<PodcastChannel> result = refresh ? null : cachedPodcastChannels.get();
if (result == null) {
@@ -362,6 +363,7 @@ public class CachedMusicService implements MusicService {
cachedLicenseValid.clear();
cachedIndexes.clear();
cachedPlaylists.clear();
+ cachedPodcastChannels.clear();
restUrl = newUrl;
}
}