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

-o option is broken #9325

Closed
redsteakraw opened this issue Apr 26, 2016 · 8 comments
Closed

-o option is broken #9325

redsteakraw opened this issue Apr 26, 2016 · 8 comments

Comments

@redsteakraw
Copy link

@redsteakraw redsteakraw commented Apr 26, 2016

All options passed to -o from a simple "%(title)s.%(ext)s" to - for standard out all return the

youtube-dl: error: using output template conflicts with using title, video ID or auto number

Error

version:

2016.04.19

system x86-64 Linux - Bash shell

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 26, 2016

As clearly stated in error message -t, --id and -A can't be used with -o.

@dstftw dstftw closed this Apr 26, 2016
@redsteakraw
Copy link
Author

@redsteakraw redsteakraw commented Apr 26, 2016

@dstftw litterally anything passed to -o even all the examples in the documentation even the wiki don't work

-o '%(uploader)s/ %(title)s-%(id)s.%(ext)s'

There is no example on the internet or in any documentation that does work if you have a simple one to try let me know. but even without %(title)s it still returns an error if I pass it -o "foo.bar" it still gives the same error. -o is broken for at least my version. I don't use -t --id or -A when I use -o

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 26, 2016

Post --verbose output.

@redsteakraw
Copy link
Author

@redsteakraw redsteakraw commented Apr 26, 2016

$ youtube-dl --verbose -o '%(uploader)s/ %(title)s-%(id)s.%(ext)s' https://www.youtube.com/watch?v=RkfLGB7Ft0A
[debug] System config: []
[debug] User config: [u'-t', u'--prefer-free-formats']
[debug] Command-line args: [u'--verbose', u'-o', u'%(uploader)s/ %(title)s-%(id)s.%(ext)s', u'https://www.youtube.com/watch?v=RkfLGB7Ft0A']
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: using output template conflicts with using title, video ID or auto number

@redsteakraw
Copy link
Author

@redsteakraw redsteakraw commented Apr 26, 2016

$ youtube-dl --verbose -o '%(uploader)s/ %(title)s-%(id)s.%(ext)s' https://www.youtube.com/watch?v=RkfLGB7Ft0A
[debug] System config: []
[debug] User config: [u'-t', u'--prefer-free-formats']
[debug] Command-line args: [u'--verbose', u'-o', u'%(uploader)s/ %(title)s-%(id)s.%(ext)s', u'https://www.youtube.com/watch?v=RkfLGB7Ft0A']
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: using output template conflicts with using title, video ID or auto number

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 26, 2016

I don't use -t --id or -A when I use -o
[debug] User config: [u'-t', u'--prefer-free-formats']

@redsteakraw
Copy link
Author

@redsteakraw redsteakraw commented Apr 26, 2016

sorry, I went into the config file and removed the -t

@krompus
Copy link

@krompus krompus commented Apr 29, 2016

@redsteakraw Haha, nice video choice.

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
3 participants
You can’t perform that action at this time.