diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-09-25 16:35:45 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-09-25 16:35:45 -0700 |
commit | 335ea81f49d584dc521e898141f976933106626d (patch) | |
tree | dd9c99d56bbe6e7763e90630489f429d68684b93 /src/github/daneren2005 | |
parent | 11daf1ae1a5673ede8cf63d464881a4491ad5690 (diff) | |
download | dsub-335ea81f49d584dc521e898141f976933106626d.tar.gz dsub-335ea81f49d584dc521e898141f976933106626d.tar.bz2 dsub-335ea81f49d584dc521e898141f976933106626d.zip |
Revert podcast caching, they just change too often
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/service/CachedMusicService.java | 10 |
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 |