docker-youtube-dl icon indicating copy to clipboard operation
docker-youtube-dl copied to clipboard

Config path /etc/youtube-dl.conf not found?

Open BarakaAka1Only opened this issue 3 years ago • 1 comments

For some reason when using path "/etc/youtube-dl.conf" as the config path it doesn't work

Output comes out to:

Usage: yt-dlp [OPTIONS] URL [URL...]

yt-dlp: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.

No matter what..

Like the file is gets empty because of the symlink?

# if the symlink already exists, remove it
    if [[ -L "/etc/youtube-dl.conf" ]]; then
        rm -v "/etc/youtube-dl.conf"
    fi

Not sure but i had to use path /home/dockeruser/ and push youtube-dl.conf to that in a -v for it to work as

yt-dlp configuration lists Home Configuration as an option.

Not a big issue just wanted to bring it up incase if anyone is using the Unraid Guide for the cron

BarakaAka1Only avatar Feb 11 '22 12:02 BarakaAka1Only

I have a pull request that fixes the readme and the symlink. https://github.com/mikenye/docker-youtube-dl/pull/55

neilcronin avatar Jul 18 '23 20:07 neilcronin