advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.78k stars 478 forks source link

[Enhancement]: Add episode number and date to file name #2494

Open peterpepo opened 10 months ago

peterpepo commented 10 months ago

Describe the feature/enhancement

Adding the episode number and (or - configurable) date to downloaded file name. After downloading (archiving) my favourite podcast, its folder looks like a huge mess inside without indicating date or number of the episode.

I've seen alternative podcast app, where you can configure to prepend episode number and date to downloaded file name. Adding this would be a huge improvement. Optionally renaming all previous files (without redownloading from scratch).

Implementing this would greatly improve organization inside podcast folder, which currently can be only alphabetically ordered, and really makes no sense when accessed from outside of audiobookshelf gui (for example windows explorer, when I play in my mp3 player)

Example of such file names:

<episode_num>_<YYYY-MM-DD>_<Episode_name>.<ext>
004_2024-01-03_Hello.mp3
003_2024-01-01_World.mp3
002_2023-10-17_Lorem.mp3
001_2022-11-15_Ipsum.mp3

My favourite podcast folder currently looks like this: abs_folder_inside

kxseven commented 3 months ago

I would like to suggest a revision to this enhancement that on the basis that the episode number won't always be known for podcasts unless it is already part of RSS feed data.

Example podcast RSS image

Suggested revision: