From 4873d4b726981f55f389e965c0ecd70cb596acb8 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 2 Jul 2013 23:02:32 -0700 Subject: Fix podcasts not being invalidated when switching servers --- .../src/github/daneren2005/dsub/service/CachedMusicService.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subsonic-android') 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 getPodcastChannels(boolean refresh, Context context, ProgressListener progressListener) throws Exception { + checkSettingsChanged(context); List 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; } } -- cgit v1.2.3