Opened 8 years ago
Closed 7 years ago
#52232 closed enhancement (fixed)
youtube-dl should use ${prefix}/etc for its global config file
Reported by: | RJVB (René Bertin) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | youtube-dl |
Description
Currently youtube-dl tries to find a global config file via the XDG_CONFIG_DIR env. variable, falling back to the user's HOME if that variable isn't set. There may be another fallback to /etc if one has to believe the README.
Either way, the code should check /etc/local/etc first, IMO.
A youtube-dl.conf file could be installed that sets the preferred downloader to ffmpeg instead of the default avconv (which MacPorts doesn't provide but which *might* be on the user's path).
Change History (3)
comment:1 Changed 8 years ago by RJVB (René Bertin)
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Replying to rjvbertin@…:
There is: the path is hardcoded at line options.py:834 .