[MacPorts] #52232: youtube-dl should use ${prefix}/etc for its global config file
#52232: youtube-dl should use ${prefix}/etc for its global config file -------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: youtube-dl -------------------------+-------------------------------- 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). -- Ticket URL: <https://trac.macports.org/ticket/52232> MacPorts <https://www.macports.org/> Ports system for macOS
#52232: youtube-dl should use ${prefix}/etc for its global config file --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: youtube-dl | --------------------------+-------------------------------- Comment (by rjvbertin@…): Replying to [ticket:52232 rjvbertin@…]:
There may be another fallback to /etc if one has to believe the README.
There is: the path is hardcoded at line options.py:834 . -- Ticket URL: <https://trac.macports.org/ticket/52232#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52232: youtube-dl should use ${prefix}/etc for its global config file --------------------------+-------------------------- Reporter: rjvbertin@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: youtube-dl | --------------------------+-------------------------- Changes (by mf2k@…): * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/52232#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts