diff options
author | txtd <lg843083@fh-muenster.de> | 2020-01-05 01:15:03 +0100 |
---|---|---|
committer | txtd <lg843083@fh-muenster.de> | 2020-01-05 01:15:03 +0100 |
commit | 7c3e3341c085b8e6f32a58ba1e4c65b5614d0f9c (patch) | |
tree | c6dea858dc8826ca88efadd437cf42c847e3b659 /app/src | |
parent | 71d281a818d150a4b628fcb40c48b03a73cf956d (diff) | |
download | AntennaPod-7c3e3341c085b8e6f32a58ba1e4c65b5614d0f9c.zip |
Check if an episode has media before adding it to download batch
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java index bd33bdb19..b19bcc17b 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -480,7 +480,7 @@ public class EpisodesApplyActionFragment extends Fragment { // download the check episodes in the same order as they are currently displayed List<FeedItem> toDownload = new ArrayList<>(checkedIds.size()); for(FeedItem episode : episodes) { - if(checkedIds.contains(episode.getId())) { + if(checkedIds.contains(episode.getId()) && episode.hasMedia()) { toDownload.add(episode); } } |