youtube-podcast-gateway
youtube-podcast-gateway copied to clipboard
Issues with Pocket Casts / caching
I'm trying to subscribe to a playlist with over 400 episodes, Shore, Stein, Papier, (PLpr-NGsAGodEbDePSO3wivni39lgdLQjW), and youtube-podcast-gateway needs a couple of seconds to respond to the subscription request. The Pocket Casts podcast client (I can only speak for iOS) refuses to add the feed as it thinks it is unavailable. This is in my opinion a problem on their side, but nevertheless I wanted to report it here.
Maybe you could start caching YouTube's responses to be able to handle subscription/update requests more swiftly, but I think caching and especially cache-invalidation will be pretty hard to get right.
There is also the Podlove Paged Feeds specification specification, which could be used to quicken up repsonse times as fewer data has to be assembled and sent to the user. Honestly I think this would be a little overkill.
Thank you for your input. I also thought about the issue of feeds taking a long time to load, if the channel has many videos. I did not come up with a satisfiable scheme that would prevent stale data from being served to the client without polling the YouTube API for recently accessed feeds, which is something I don't want to do.
The Paged Feeds specification looks interesting and I think it could be mapped onto the paged results provided by the YouTube API. But with a lack of clients supporting this specification and motivation, I don't think I'm going to work on this in soon. I hope you understand. :)
Did you see the max_episode_count configuration variable? It provides a way to limit the number of episodes returned (and thus the time it takes to fetch the data), but it will only allow you to access the most recent episodes. :/