podgrab icon indicating copy to clipboard operation
podgrab copied to clipboard

Rename File Based on Format

Open dannyhanes opened this issue 3 years ago • 3 comments

I would love to set the name of the downloaded files. Currently it downloads them with the title as the filename. I would like the ability to create custom filenames with the data available. From: Love_Hurts_Kemp_Powers_&_Beth_Bradley To: The Moth - 2021-03-21 - Love Hurts: Kemp Powers & Beth Bradley $podName - $releaseDate - $podTitle

dannyhanes avatar Mar 23 '21 14:03 dannyhanes

Not sure if you checked but you already have the ability to append date at start of the file. You can enable it in the settings. The episodes are also downloaded into respective folders only. Is there any specific use-case you have in mind?

akhilrex avatar Mar 23 '21 23:03 akhilrex

So I added the date per the settings which helps.

I know that a lot of third party media players (Plex, Jellyfin, Emby etc) have different file / folder structures that they prefer in terms of reading data. Being able to configure PodGrab to fit those requirements would be a big help. For example, I use youtube-dl to grab videos for Plex and I keep them in the following structure:

Channel Name
-- Channel Name - Release Date - Video Title
    -- Channel Name - Release Date - Video Title.mp4
    -- Channel Name - Release Date - Video Title.json
    -- Channel Name - Release Date - Video Title.vtt
    -- Channel Name - Release Date - Video Title.jpg
Podcast Name
-- Podcast Name - Release Date - Podcast Title
    -- Podcast Name - Release Date - Podcast Title.mp3
    -- Podcast Name - Release Date - Podcast Title.json
    -- Podcast Name - Release Date - Podcast Title.vtt
    -- Podcast Name - Release Date - Podcast Title.jpg

This would keep things very organized and allow assets for each episode to be stored together.

dannyhanes avatar Mar 24 '21 16:03 dannyhanes

To build on this, it'd be useful to add additional folder structures. Before I found Podgrab, I used my own script which output to: podcasts/${SHOW_TITLE}/${YEAR}/${MONTH}/${YYYY-mm-dd} ${EPISODE_TITLE}

It looks like I can manipulate the podgrab.db to match that, but it'd be nice to have native support.

fracai avatar May 11 '21 14:05 fracai