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

Configuration file is ignored #6110

Closed
J316 opened this issue Jun 27, 2015 · 11 comments
Closed

Configuration file is ignored #6110

J316 opened this issue Jun 27, 2015 · 11 comments

Comments

@J316
Copy link

@J316 J316 commented Jun 27, 2015

I put this line into /etc/youtube-dl.conf because i want it to download on an external hard drive by default
-o "PATH/%(title)s.%(ext)s"
but it's ignored everytime and it downloads into home folder. But if I put this line in terminal between the youtube-dl command and the url it downloads in the specified path. It always used to work in previous installation of Linux.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 27, 2015

Post the full output of youtube-dl when run with --verbose option and the output of cat /etc/youtube-dl.conf.

@J316
Copy link
Author

@J316 J316 commented Jun 27, 2015

sudo cat /etc/youtube-dl.conf
-o "/media/External/youtube-dl/%(title)s.%(ext)s"

youtube-dl --verbose https://www.youtube.com/watch?v=bls2D0jMK84
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=bls2D0jMK84']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.2-rafaela
[debug] Proxy map: {}
[youtube] Setting language
[youtube] bls2D0jMK84: Downloading webpage
[youtube] bls2D0jMK84: Downloading video info webpage
[youtube] bls2D0jMK84: Extracting video information
[download] Destination: A Question of Origins (English Version)-bls2D0jMK84.mp4
[download] 7.2% of 155.86MiB at 738.79KiB/s ETA 03:20^C

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 27, 2015

output of cat /etc/youtube-dl.conf

without sudo.

@J316
Copy link
Author

@J316 J316 commented Jun 27, 2015

cat: /etc/youtube-dl.conf: Permission denied

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 27, 2015

Give it permissions for reading for everyone: sudo chmod a+r /etc/youtube-dl.conf

@dstftw dstftw closed this Jun 27, 2015
@J316
Copy link
Author

@J316 J316 commented Jun 27, 2015

same as with sudo

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 27, 2015

Same what?

@J316
Copy link
Author

@J316 J316 commented Jun 27, 2015

same output as with the sudo command

@J316
Copy link
Author

@J316 J316 commented Jun 27, 2015

why did you close this while still asking questions?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 27, 2015

Because I provided you a solution.

@J316
Copy link
Author

@J316 J316 commented Jun 27, 2015

yeah. sorry, I misunderstood it

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.