Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename File Based on Format #70

Open
dannyhanes opened this issue Mar 23, 2021 · 3 comments · May be fixed by #108
Open

Rename File Based on Format #70

dannyhanes opened this issue Mar 23, 2021 · 3 comments · May be fixed by #108

Comments

@dannyhanes
Copy link
Contributor

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

@akhilrex
Copy link
Owner

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?

@dannyhanes
Copy link
Contributor Author

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.

@fracai
Copy link
Contributor

fracai commented May 11, 2021

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 fracai linked a pull request Jun 4, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants