-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Feature request: When downloading an episode, record the actual on-disk filename that gets saved, and then attach that to the episode entry in the json data file.
Reasoning/Background:
I use podfox on a particular subscription-only RSS feed. It's presumably doing some server-side CGI and redirection gymnastics to ensure that I'm me and to make it more difficult for people to guess filenames on a CDN. But the practical upshot is that my feed.json has entries like this (the X's represent the lengths of the hex guids/tokens, without revealing the actual tokens):
"url": "https://sphinx.acast.com/p/open/s/xxxxxxxxxxxxxxxxxxxxxxxx/e/xxxxxxxxxxxxxxxxxxxxxxxx/media.mp3?tk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
And, once downloaded, filenames that look like this:
- bd486f1926feeeeb047f6e9de7778f73.mp3
- bddc170ae2c444054ed715c0d1d19804.mp3
- be57ffa60d51fb23be13b3030dd078da.mp3
- be5cb1f4471115732eb21dd651fe8c65.mp3
- be8c74711e6dcbd7b8125abba201713f.mp3
- bef9d1ed844c42bf52672fe418394fb3.mp3
- bf2b99bb2a175f17d5fddb67d3855543.mp3
The guids in the file names don't seem to correlate with anything in the URL. Because this is a large feed that goes back quite a few years in history, I have 1,201 mp3 files and no way to tell which matches a given episode. Ideally, the feed json would have some way to match episode to filename.