From 69037e20374f988643881e66ccb6ff53a52c3c3f Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 2 Feb 2015 10:26:19 -0800 Subject: #445 Don't show duplicate Podcasts from different servers since they map to the same folder anyways --- src/github/daneren2005/dsub/service/OfflineMusicService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit v1.2.3