Check if an episode has media before adding it to download batch

This commit is contained in:
txtd 2020-01-05 01:15:03 +01:00
parent 71d281a818
commit 7c3e3341c0

View File

@ -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);
}
}