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

Automatically add incrementing numbers to filenames #131

Open
hotfistdotcom opened this issue Jul 30, 2024 · 1 comment
Open

Automatically add incrementing numbers to filenames #131

hotfistdotcom opened this issue Jul 30, 2024 · 1 comment

Comments

@hotfistdotcom
Copy link

Feature Request: I'd love if when downloading a playlist, it could add an automatically incrementing number to the beginning of the filename. I've tried %(autonumber)s-%(title).200s.%(ext)s but this appends 00001- to each file, and does not increment.

This would be very useful as a checkbox for anything being downloaded in a specific order, for anything produced episodically, etc.

Really love the application, it's a lifesaver. :)

@StefanLobbenmeier
Copy link
Owner

I’d like to avoid adding more custom filename logic to the GUI, but I have some more ideas to try

if it came from a playlist, you could also try one of these:

playlist_index (numeric): Index of the video in the playlist padded with leading zeros according the final index

playlist_autonumber (numeric): Position of the video in the playlist download queue padded with leading zeros according to the total length of the playlist

Or otherwise if it has episode / series metadata you can also access that, but support varies by website / extractor

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

No branches or pull requests

2 participants