Feed pointing to wrong file location

Im hosting my audio on an AWS S3 server.

I’m able to set the episode file as an asset without any issues (and can access the file ok)

But the RSS feed is pointing the file path to a different location:

enclosure url=“https://podcast.martyn.io/bigfinish/podlove/file/22/s/feed/c/mp3/8thDoctor%2FCharlottePollard%2F1StormWarning.mp3” length=“111572974” type=“audio/mpeg”

There’s no reference to the correct file path/url on the feed.

What am i missing?

Thanks

It’s a download tracking URL. It’s not working correctly because there are slashes in your file slug. If possible, put all your audio files into the same directory. So in your case, use https://bigfinish.s3.eu-west-2.amazonaws.com/8thDoctor/CharlottePollard/ as the media location and only 1StormWarning as the file slug.

Alternatively, disable download tracking in Podlove - Expert Settings - Tracking, then the original S3 URL will be used in the RSS feed. But then you won’t have download tracking.

As an aside, the file name at the end of the tracking url is mostly decorative, so I should be able to write a bugfix for this specific use case in an upcoming patch. For example, this URL works and redirects to the correct url: https://podcast.martyn.io/bigfinish/podlove/file/22/s/feed/c/mp3/test.mp3

Thank you for the explanation and the workaround @ericteubert

We have the same problem, only with another hoster. We host on archive.org, that puts the uploaded file always in a folder with the same name, so our slug is “episodename/episodename”. Strangly that worked now for several years and started bugging two weeks ago and the / is now %2F. Has there been any changes?

Greetings from Leipzig :slight_smile:

Ah, yes, here Nov 15: fix: encode tracking urls and their redirected urls · podlove/podlove-publisher@84cd683 · GitHub

Encoding the URLs is still correct (mostly to deal with whitespace) but since slashes are “secretly allowed” in the slug, I need to handle this differently.

You can downgrade to 4.1.20 until this is fixed (downloadable at the bottom of this page: Podlove Podcast Publisher (advanced view) – WordPress plugin | WordPress.org)