akhilrex / podgrab

A self-hosted podcast manager/downloader/archiver tool to download podcast episodes as soon as they become live with an integrated player.
GNU General Public License v3.0
1.61k stars 88 forks source link

Files get same episode number appended in some cases #251

Open nestingBiscuit opened 1 year ago

nestingBiscuit commented 1 year ago

Describe the bug When you enable "Append episode number to episode file name", files sometimes get the same number when episodes are published on the same day. https://www.dr.dk/mu/feed/p1-dokumentar.xml

To Reproduce Steps to reproduce the behavior:

  1. Go to settings, enable "Append episode number to episode file name"
  2. Add podcast: "https://www.dr.dk/mu/feed/p1-dokumentar.xml"
  3. Click download all
  4. The last 8 episodes where published on the same day.
  5. See the assets folder for the podcast.
  6. The last 8 episodes all get the same episode number appended.

Expected behavior It is expected that the episode files get number according to their order in the feed. Or based on already downloaded files, (in case older episodes get removed from the RSS feed in the future)