[Bug]: Private podcast error because itunes information is not available in generated RSS feed #2507

Closed
opened 2026-04-25 00:07:50 +02:00 by adam · 5 comments
Owner

Originally created by @devyzr on GitHub (Jan 20, 2025).

What happened?

Hello! I downloaded a bunch of episodes of a podcast I'm a patreon of, and that worked fine. Now I want to be able to read my audiobook shelf RSS from my phone, but I'm getting an invalid feed error when I try and do that, I tried validating it here: https://validator.w3.org/feed/check.cgi and got the following issues:

Image

There's empty tags, and timestamps that end with a ".0", indicating it's trying to parse it as a float.

I think this is because the podcast is a private patreon RSS feed, and therefore not available on itunes. I think this could be solved if it didn't try and get the metadata from itunes and just used the available metadata, but I didn't find a way to turn that off.

What did you expect to happen?

Not have syntax errors in the RSS feed

Steps to reproduce the issue

  1. Subscribe to a private Patreon RSS feed
  2. Find episodes
  3. Download an episode
  4. Open RSS Feed
  5. View in browser
  6. View page source
  7. Copy page source to validator

Audiobookshelf version

v2.17.7

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs


Additional Notes

I'm not sure how this could be reproduced without a private patreon feed, and I cannot share mine here. But maybe a podcast that isn't available in itunes would have the same effect?

Originally created by @devyzr on GitHub (Jan 20, 2025). ### What happened? Hello! I downloaded a bunch of episodes of a podcast I'm a patreon of, and that worked fine. Now I want to be able to read my audiobook shelf RSS from my phone, but I'm getting an invalid feed error when I try and do that, I tried validating it here: https://validator.w3.org/feed/check.cgi and got the following issues: ![Image](https://github.com/user-attachments/assets/1b57f577-810e-4a2d-a178-85c85c464094) There's empty tags, and timestamps that end with a ".0", indicating it's trying to parse it as a float. I think this is because the podcast is a private patreon RSS feed, and therefore not available on itunes. I think this could be solved if it didn't try and get the metadata from itunes and just used the available metadata, but I didn't find a way to turn that off. ### What did you expect to happen? Not have syntax errors in the RSS feed ### Steps to reproduce the issue 1. Subscribe to a private Patreon RSS feed 2. Find episodes 3. Download an episode 4. Open RSS Feed 5. View in browser 6. View page source 7. Copy page source to validator ### Audiobookshelf version v2.17.7 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell ``` ### Additional Notes I'm not sure how this could be reproduced without a private patreon feed, and I cannot share mine here. But maybe a podcast that isn't available in itunes would have the same effect?
adam added the bug label 2026-04-25 00:07:50 +02:00
adam closed this issue 2026-04-25 00:07:50 +02:00
Author
Owner

@advplyr commented on GitHub (Jan 20, 2025):

Where are you entering the RSS feed that it is giving an error?

@advplyr commented on GitHub (Jan 20, 2025): Where are you entering the RSS feed that it is giving an error?
Author
Owner

@advplyr commented on GitHub (Jan 20, 2025):

While looking into this I found a number of issues that should be addressed as well as a separate bug with collection/series RSS feeds.

I don't believe any of the issues would cause problems putting the RSS feed that Abs generates into other podcast apps.

That website for validating RSS feed is going to throw errors for the majority of podcasts. For example, the self-hosted podcast https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Ffeeds.fireside.fm%2Fselfhosted%2Frss

A better website to use for podcast validation is https://www.castfeedvalidator.com/validate.php?url=https://feeds.fireside.fm/selfhosted/rss

The only issue that Abs fails with that tool is we don't populate the itunes:category tag but that also shouldn't prevent it being added to any podcast app.

You can see the list of issues I addressed with RSS feeds in the upcoming release: https://github.com/advplyr/audiobookshelf/pull/3867

@advplyr commented on GitHub (Jan 20, 2025): While looking into this I found a number of issues that should be addressed as well as a separate bug with collection/series RSS feeds. I don't believe any of the issues would cause problems putting the RSS feed that Abs generates into other podcast apps. That website for validating RSS feed is going to throw errors for the majority of podcasts. For example, the self-hosted podcast https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Ffeeds.fireside.fm%2Fselfhosted%2Frss A better website to use for podcast validation is https://www.castfeedvalidator.com/validate.php?url=https://feeds.fireside.fm/selfhosted/rss The only issue that Abs fails with that tool is we don't populate the `itunes:category` tag but that also shouldn't prevent it being added to any podcast app. You can see the list of issues I addressed with RSS feeds in the upcoming release: https://github.com/advplyr/audiobookshelf/pull/3867
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2025):

Fixed in v2.18.1.

@github-actions[bot] commented on GitHub (Jan 20, 2025): Fixed in [v2.18.1](https://github.com/advplyr/audiobookshelf/releases/tag/v2.18.1).
Author
Owner

@devyzr commented on GitHub (Jan 20, 2025):

Thanks for such a quick fix, that was awesome!!

I was entering it into the podcast addict app. Now it looks like the feed is working, and the podcasts are downloadable as expected.

@devyzr commented on GitHub (Jan 20, 2025): Thanks for such a quick fix, that was awesome!! I was entering it into the podcast addict app. Now it looks like the feed is working, and the podcasts are downloadable as expected.
Author
Owner

@advplyr commented on GitHub (Jan 20, 2025):

Great! Thanks for following up

@advplyr commented on GitHub (Jan 20, 2025): Great! Thanks for following up
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2507