atareao / u2vpodcast

MIT License
18 stars 2 forks source link

Timestamps for audio files #3

Open enrique-mp opened 1 year ago

enrique-mp commented 1 year ago

Thanks for your app Lorenzo.

Timestamps in audio files are "touched"when audio is converted, I suspect. In a day to day use, there is no problem with that, because the timestamp for audio files is more or less equal to the video publish date. But when you add a new channel to ytpodcast, all the files for this new channel takes the date of the audio conversion. Results an unordered list of new files, without any chronological order. How can we change this behavior?

enrique-mp commented 1 year ago

Well, seems to be a problem of my podcatcher, AntennaPod. I revised the timestamps for audio files and the .xml result feed and the dates seems to be in order. But for a unknown reason, AntennaPod overwrites the date and changes for a downloaded date.

Feel free to close the issue, I'll try to research some more info for the podcatcher behavior.

atareao commented 1 year ago

I know it, I use AntennaPod as podcatcher and I have the same issue, so I don't know what can be the problem, maybe another pubDate? I don't know

enrique-mp commented 1 year ago

AntennaPod

according to this thread https://forum.antennapod.org/t/metadata-format-for-locally-imported-podcasts/1534, seems that AntennaPod takes the date from the last modification of file. Then, when u2vpodcast converts the audio from youtube, takes the date from there. Maybe making a "touch" adjustment to the file converted to adjust to the publish date on Youtube will be a workaround.

atareao commented 1 year ago

BravoπŸ‘. I will apply it right now πŸ‘πŸ‘πŸ‘

enrique-mp commented 1 year ago

For the records. Timestamps audio files work like a charm in PocketCasts, on Android.