Ignore specific options from configuration file #11615

Closed
Tony-il-Capo opened this Issue Jan 5, 2017 · 2 comments

Projects

None yet

2 participants

@Tony-il-Capo
Tony-il-Capo commented Jan 5, 2017 edited

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.05. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.01.05

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Hi there
Is there a way to ignore specific options from config file? Like, if the options are present on command line, the same options on configuration file are ignored.

I make use of configuration file because I use proxy and custom downloader options, if not, is hard to write them every time.
I read here about having multiple config files, but don't seems implemented.

Anyway, it's something that shouldn't take much priority nor time.

Btw, youtube-dl runs great on my OpenWrt router (WR1043NDv2), Rpi 3 and Linux STB (Vu+ Duo2), thanks so much for this awesome tool.

@dstftw
Collaborator
dstftw commented Jan 5, 2017

Like, if the options are present on command line, the same options on configuration file are ignored.

Options passed on command line override the same options from configuration file.

I read here about having multiple config files, but don't seems implemented.

Wrong, it's implemented: --config-location.

@dstftw dstftw closed this Jan 5, 2017
@Tony-il-Capo

Thanks, I tested this before and somehow it was not working, it would still use options from configuration file. I need to check this again.

Could this info be clarified on readme page?
I only find this

You can use --ignore-config if you want to disable the configuration file for a particular youtube-dl run.

Thanks again and sorry about this.

@dstftw dstftw added a commit that referenced this issue Jan 5, 2017
@dstftw dstftw [README.md] Mention --config-location in configuration section (#11615) a9ee260
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment