Botspot / youtubuddy

Search/Watch/Download YouTube videos with a lightweight, interactive tool
GNU General Public License v3.0
36 stars 10 forks source link

check for youtube-dl in other locations + suggestions #14

Closed Itai-Nelken closed 3 years ago

Itai-Nelken commented 3 years ago

I just installed youtube-dl in a fresh Ubuntu 20.04 (x64) install, and youtubuddy had trouble installing pip, so it failed to install youtube-dl. my suggestion: install youtube-dl from apt if pip fails. now youtubuddy searched for youtube-dl in /usr/local/bin but youtube-dl from apt was in /usr/bin, so I made a link to it in /usr/local/bin/ and that messed up youtube-dl. so I installed it from snap and changed the line in gui where it checks for youtube-dl to snap/bin/youtube-dl. my 2nd suggestion: check for youtube-dl in ~/snap/bin/youtube-dl and /usr/bin/youtube-dl as well as where it already checks (/usr/local/bin/youtube-dl).

Itai-Nelken commented 3 years ago

trouble installing pip because it has a different package name that I haven't found yet.

Botspot commented 3 years ago

The apt repo's version of youtube-dl is slower and out of date.

Remember the infinite search issue? That was recently fixed and available on pip. The APT version is ancient.

Itai-Nelken commented 3 years ago

then compile it from source, also its newer in the ubuntu repos and works well with youtubuddy (didn't check infinite search issue with it though).

Botspot commented 3 years ago

trouble installing pip because it has a different package name that I haven't found yet.

Are these them? python-pip and python3-pip

Itai-Nelken commented 3 years ago

Are these them? python-pip and python3-pip

no, python-pip doesn't exist.

Botspot commented 3 years ago

Are these them? python-pip and python3-pip

no, python-pip doesn't exist.

Weird. apt search pip

Itai-Nelken commented 3 years ago

Weird. apt search pip

closest package is python-pip-lhw (or something similar, I don't remember).

Botspot commented 3 years ago

The apt repo's version of youtube-dl is slower and out of date.

Remember the infinite search issue? That was recently fixed and available on pip. The APT version is ancient.