Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Skip images in Media RSS content if audio/video available (bug 1444)

Merged from the 'tres' branch.
  • Loading branch information...
1 parent 73ca508 commit 07d13548e851e4dd2797b2a7f23ae4b5c3d1c137 @thp thp committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/gpodder/
6 src/gpodder/
@@ -769,8 +769,10 @@ def calculate_preference_value(enclosure):
if '/' not in episode.mimetype:
- # XXX: Does Media RSS content also have images? If so, we
- # might want to skip these too (see above for enclosures).
+ # Skip images in Media RSS if we have audio/video (bug 1444)
+ if episode.mimetype.startswith('image/') and \
+ (audio_available or video_available):
+ continue
episode.url = util.normalize_feed_url(m.get('url', ''))
if not episode.url:

0 comments on commit 07d1354

Please sign in to comment.
Something went wrong with that request. Please try again.