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

[Request] Would a %if(playlist)s tag be possible? #5412

Open
HASJ opened this issue Apr 12, 2015 · 0 comments
Open

[Request] Would a %if(playlist)s tag be possible? #5412

HASJ opened this issue Apr 12, 2015 · 0 comments
Labels

Comments

@HASJ
Copy link

@HASJ HASJ commented Apr 12, 2015

It would be very handy when used in a config.txt file:
-o "D:%(uploader)s-%(upload_date)s-(%if(playlist)s_%(playlist_index)s) - %(title)s.%(ext)s"

Or even simplier, YDL could detect if the video is part of a playlist and automatically add which number the videos are in the playlist. Like:

-o "D:%(uploader)s-%(upload_date)s>-(%(playlist)s_%(playlist_index)s)< - %(title)s.%(ext)s"

< indicating that those file name tags should only be used if the tags are applicable to the video/URL. I'm guessing URL would be easier to do.

@jaimeMF jaimeMF added the request label Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.