Skip to content

Podcast/Episode artwork causing issues #52

Description

@sjcjonker

Since a day or two ago, the artwork for (some) podcasts has started being served as WebP, which causes the following error:
podimo.py ERROR | 2026-04-29T15:14:16Z | Error while fetching podcasts: Image file must be png or jpg

This seems to be closely related to feedgen, as discussed here:
`https://github.com/lkiesow/python-feedgen/pull/144/changes'

However, in this case the image URL does not even end with .png or .jpg.

I’m not entirely sure where the best place to fix this is. When ignoring the check in feedgen’s podcast_entry.py by commenting out:
if itunes_image.endswith('.jpg') or itunes_image.endswith('.png'):
and allowing the URL to be passed through to the XML, it does “work”, although that may not be ideal.

Would this be something that should be addressed in this repository by converting the image as I don't believe podcast RSS standard allows for anyhing else then png or jpg. A quick fix might be to exclude the artwork link/url if it doesn't end in png/jpg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions