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

Spotify have problems with <enclosure> tag in feed rss. #33

Open
wagsch opened this issue Jan 5, 2023 · 1 comment
Open

Spotify have problems with <enclosure> tag in feed rss. #33

wagsch opened this issue Jan 5, 2023 · 1 comment

Comments

@wagsch
Copy link

wagsch commented Jan 5, 2023

Describe the bug
Spotify can't listen the podcast because missing the "type" and "length" assets.

To Reproduce
open xml with editor.
look at the end of enclosure

Additional context
Spotify Support responded to my email as follows:

_We had a look and can confirm that your podcast was successfully submitted. However, it seems that our system is having a hard time ingesting your podcast information due to an error in your tag.

XMLs are usually quite sensitive and should follows the format that's listed in section 5.17 of our spec doc https://assets.ctfassets.net/jtdj514wr91r/3khl5YaRusSuQ4a18amk38/8f35aecf398979cdfa6839ae29e79a46/Podcast_Delivery_Specification_v1.9.pdf.

Your tag must contains the following:
url: the URL containing this episode’s audio file.
type: the format of audio file (e.g. type=”audio/mpeg”)
length: the length of the audio file must be in bytes_

@wagsch
Copy link
Author

wagsch commented Jan 9, 2023

I was able to trace the error and fix it.
With the fix

https://github.com/Podlatch/Podlatch-Publisher/blob/master/src/Controller/DefaultController.php

the rss field is now how it should be.
I am surprised that this fix is missing in the "podlatch latest" version.

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

No branches or pull requests

1 participant