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

selective output template #32

Open
ohnggni opened this issue Mar 23, 2019 · 0 comments
Open

selective output template #32

ohnggni opened this issue Mar 23, 2019 · 0 comments

Comments

@ohnggni
Copy link

ohnggni commented Mar 23, 2019

Is there any way that I can automatically select output template?

For example,
If I try to download one video not belonging to any playlist,
then 'YDL_OUTPUT_TEMPLATE': '/youtube-dl/%(title)s [%(id)s].%(ext)s'

But if I want to download a playlist,
then 'YDL_OUTPUT_TEMPLATE': '/youtube-dl/%(playlist)s/%(playlist_index)02d - %(title)s [%(id)s].%(ext)s'

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

1 participant