Thann / play-with-mpv

Chrome extension that allows you to play videos in webpages like youtube with MPV instead
https://chrome.google.com/webstore/detail/play-with-mpv/hahklcmnfgffdlchjigehabfbiigleji
The Unlicense
348 stars 80 forks source link

missing_bin(bin) line 96 Linux #77

Closed touhamii closed 2 years ago

touhamii commented 2 years ago

Hi, first of all thank u for this awseome extension long story short when i try to run the play_with_mpv.py i get the line 96 (youtube dl version installed is : 2021.12.17 - python :2.7.13 - python3 --version : 3.5.2) instead of a server that is waiting for the extension to provihe him URL

____ if you have time this is more detailed my probleme is that everything seem to work fine on my main pc MX Linux but on the other pc where i actually benefit from using this extension (running YT videos on browsers is a pain) in that low specs pc (nvidia 7200 gs) that is running antiX 17.5 64bit i did everything the same (as far as i can remember) but when i try type on terminal : python play_with_mpv.py / or python3 play_with_mpv.py it says : < file ... line 96 ... please ensure you can launch (bin) .... i tried chmod +x play_with_mpv.py nothing changed x) the command : pip install git+git://github.com/thann/play-with-mpv --user is running fine after i installed what it needs on antiX apt install git apt install python-pip apt install python3-pip pip install --upgrade setuptools pip install wheel / pip3 install wheel my chrome version on antiX 17.5_64bit is : 97.0.4692.71


touhamii commented 2 years ago

seems that i just need to install the latest python and it will work since the probleme is only on my antiX 17.5 on MX 21 i didnt have the probleme so it's the python interpreter kinda broken in antiX OS i guess so i will re-install - install last version

touhamii commented 2 years ago

i removed the current ptyhon3 version on antiX 17.5_64b with : sudo apt purge python3. i downloaded the latest tarball python cd (to go inside folder) 1- ./configure --enable-optimizations 2- make install python3 play_with_mpv.py now it works