Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for mrss item media:content when extracting item enclosures #3732

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Timtam
Copy link

@Timtam Timtam commented Dec 18, 2024

Brief summary

Some RSS feeds use the enhanced media RSS format (Mrss), particularly the ones created by Rss Bridge. This format stores its enclosures in media:content tags, which ABS didn't yet understand. This PR adds support for those tags as a fallback from traditional enclosures.

Which issue is fixed?

Fixes #3695

In-depth Description

The function responsible for extracting item episode info will test for enclosure urls first, and if it doesn't find one, it'll search for media:content entries that do have a type that starts with "audio". This is necessary since Mrss also supports storing images within the media:content attributes. If an entry is found, its used as an enclosure, since it seems to have the same tags. If no media:content with audio/something type is found, the function will abort with the usual error.

How have you tested this?

I tested with regular RSS feeds and an Mrss feed. I particularly tested this one: https://rss.nixnet.services/?action=display&bridge=ARDAudiothekBridge&path=https%3A%2F%2Fwww.ardaudiothek.de%2Fsendung%2Fkalk-welk%2F10777871%2F&limit=&format=Mrss

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Support media:content in addition to enclosure.url for podcast episodes
1 participant