ocdownloader
ocdownloader copied to clipboard
ocdownloader can't find youtube-dl executable
I have installed youtube-dl
via the package manager of Arch Linux which results in youtube-dl
's binary being installed to /usr/bin/youtube-dl
.
$ which youtube-dl
/usr/bin/youtube-dl
$ stat /usr/bin/youtube-dl
File: /usr/bin/youtube-dl
Size: 408 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 833 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-02-18 13:15:30.546328664 +0100
Modify: 2018-02-12 23:02:32.616259268 +0100
Change: 2018-02-18 12:52:52.355353778 +0100
Birth: -
Unfortunately, when I try to set the above path in ocdownloader's settings area, I get "Can't find youtube-dl binary". What am I missing?
Which database are you using? Can you check if you run into the same problem as described here: https://github.com/e-alfred/ocdownloader/issues/65
I'm using Postgres. There was only one YTDLBinary
in oc_ocdownloader_adminsettings
but it's value was NULL. I set it to /usr/bin/youtube-dl
and now ocdownloader can find the binary.
This will probably be solved by https://github.com/e-alfred/ocdownloader/issues/73. Rework will take some time probably, but if you want to help out pull requests are always welcome.