TeamPiped / Piped

An alternative privacy-friendly YouTube frontend which is efficient by design.
https://piped.video
GNU Affero General Public License v3.0
8.35k stars 685 forks source link

Podcast compatible RSS feed(s) #2719

Open obosob opened 1 year ago

obosob commented 1 year ago

Describe the feature

Make the rss feeds piped exposes conform to the podcast rss standard so that it can be subscribed to with any podcatcher.

Why would this be useful to add?

It'd be really great if we could use piped to subscribe to channels in podcast clients. Ideally both for audio and video separately (query parameter or something). For certain content this is really the nicest way to consume it and the tools one could use in the past don't seem to work anymore. The fact piped already has rss feeds is great, it's only natural for those feeds to be podcast feeds though, rather than just thumbnails and links to videos.

Concept(s)

No response

Additional context

No response

Acknowledgements

FireMasterK commented 1 year ago

I'm not really sure if there's an audience for this. We could probably add support for this using a query parameter.

obosob commented 1 year ago

Query parameter would be absolutely fine, though I'm pretty sure it's possible to make the same feed work properly for both applications. I might give it a shot and raise a PR myself if I get the time. One issue from a quick read through of the source is I can't seem to find how to get the actual content URL from a Video object, only the /watch?v=... URL.

FireMasterK commented 1 year ago

Oh, that requires sending requests to YouTube to fetch the player endpoint, which can cause a lot of strain on the backend for just RSS :/

If the RSS reader can individually request an item it is interested in, that would be the ideal solution I think.

obosob commented 1 year ago

Hm, that might make it a bit of a non-starter then. The feed needs a direct URL to the content. I presumed that with Piped there would be a definitive URL to the mp4/m4a (for the audio stream) one way or another. But yeah, that would be a lot to query just to serve a feed.