diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-02-02 10:26:19 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-02-02 10:26:19 -0800 |
commit | 69037e20374f988643881e66ccb6ff53a52c3c3f (patch) | |
tree | 3630485ea6b2331e458aa68e7a3f0e1fa6b81f8e | |
parent | 26ab449aa0a619c5398d80cc6ac616f28647039d (diff) | |
download | dsub-69037e20374f988643881e66ccb6ff53a52c3c3f.tar.gz dsub-69037e20374f988643881e66ccb6ff53a52c3c3f.tar.bz2 dsub-69037e20374f988643881e66ccb6ff53a52c3c3f.zip |
#445 Don't show duplicate Podcasts from different servers since they map to the same folder anyways
-rw-r--r-- | src/github/daneren2005/dsub/service/OfflineMusicService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/OfflineMusicService.java b/src/github/daneren2005/dsub/service/OfflineMusicService.java index 4bd90d09..254592da 100644 --- a/src/github/daneren2005/dsub/service/OfflineMusicService.java +++ b/src/github/daneren2005/dsub/service/OfflineMusicService.java @@ -683,7 +683,7 @@ public class OfflineMusicService implements MusicService { channel.setName(line); channel.setStatus("completed"); - if(FileUtil.getPodcastDirectory(context, channel).exists()) { + if(FileUtil.getPodcastDirectory(context, channel).exists() && !channels.contains(channel)) { channels.add(channel); } } |