aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/CachedMusicService.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/github/daneren2005/dsub/service/CachedMusicService.java b/src/github/daneren2005/dsub/service/CachedMusicService.java
index a76dea85..36506f9c 100644
--- a/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -371,15 +371,7 @@ public class CachedMusicService implements MusicService {
@Override
public MusicDirectory getPodcastEpisodes(boolean refresh, String id, Context context, ProgressListener progressListener) throws Exception {
- MusicDirectory dir = null;
- if(!refresh) {
- dir = FileUtil.deserialize(context, getCacheName(context, "podcast", id), MusicDirectory.class);
- }
- if(dir == null) {
- dir = musicService.getPodcastEpisodes(refresh, id, context, progressListener);
- FileUtil.serialize(context, dir, getCacheName(context, "podcast", id));
- }
- return dir;
+ return musicService.getPodcastEpisodes(refresh, id, context, progressListener);
}
@Override