amugofjava / anytime_podcast_player

Simple, easy to use Podcast player app written in Flutter and Dart.
BSD 3-Clause "New" or "Revised" License
376 stars 99 forks source link

Display podcast even if missing title, description, or copyright tags #78

Closed wilt00 closed 1 year ago

wilt00 commented 1 year ago

I ran into an issue loading this RSS feed manually: http://adc.equalarea.com/feed/ - because this feed is missing a <copyright> tag, it cannot be loaded. This PR fixes this issue.

(Note that even with this fix, items from this feed cannot be successfully downloaded, because of an issue with two <enclosure> tags in a single item. That's an edge case that isn't supported according to Apple's spec, but it should be a simple fix - let me know if you'd accept a PR to podcast_search to fix that issue, or if that's too weird a scenario to bother with the extra complexity.)

amugofjava commented 1 year ago

Thank you for the PR.

The feed is in error as two <enclosure> tags is invalid, but I do think that software should gracefully handle errors and issues. I would be very happy to accept a PR that handles this issue. Thank you.