Closed LoliestHuhytre closed 2 years ago
sadly no
can you type mpv into cmd and then post the output?
root@NENONEDO:~# mpv mpv 0.33.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects built on Thu Nov 26 06:59:44 UTC 2020 FFmpeg library versions: libavutil 56.60.100 libavcodec 58.112.103 libavformat 58.64.100 libswscale 5.8.100 libavfilter 7.90.100 libswresample 3.8.100 FFmpeg version: git-2020-11-22-9208b72
Usage: mpv [options] [url|path/]filename
Basic options: --start=
--list-options list all mpv options
--h=
heres screenshot
git clone https://github.com/mpv-player/mpv.git is what i typed on that ubuntu microsoft store terminal
@trakBan
ok tried more stuff it seems to get this, not working but when it gives up, it freezes now
tried to reinstall MPV and YouTube-dl using commands and they work fine... but the same error
Have you tried running it in just the normal windows terminal
actually I installed git for windows, then, i copy-pasted git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; sudo python3 setup.py install, I seperad them, MPV works fine, so does YouTube-DL, both on chocolatey, but chmod is not a valid command and so does sudo!!! I used git and C:\Users\lolie\spongebob-cli>chmod +x spongebob-cli 'chmod' is not recognized as an internal or external command, operable program or batch file is for the output, yes, I DID use terminal windows normal and C:\Users\lolie\spongebob-cli>sudo python3 setup.py install 'sudo' is not recognized as an internal or external command, operable program or batch file was also an output
C:\Users\lolie\spongebob-cli>mpv mpv 0.34.0 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects built on Sun Nov 7 20:16:38 +08 2021 FFmpeg library versions: libavutil 57.7.100 libavcodec 59.12.100 libavformat 59.8.100 libswscale 6.1.100 libavfilter 8.16.101 libswresample 4.0.100 FFmpeg version: git-2021-11-06-1728127e
Usage: mpv [options] [url|path/]filename
Basic options: --start=
--list-options list all mpv options
--h=
You can skip setup.py and just run python spongebob-cli
. It will work just the same. You can add it to PATH so you can execute in anywhere.
Just make sure to do pip install -r requirements.txt
so all the dependecies get installed.
horray, it works
@trakBan, I think that the use of scripts
in setup.py
do not provide cross-plataform compatibility as aposed to console_scripts
, as described in this StackOverflow thread and in the Read the Docs page.
Even though LoliestHuhytre mentions:
I am using the Ubuntu terminal from Microsoft Store
I think it would be nice if we use console_scripts
instead, and windows people can use it without calling python spongebob-cli
or manually adding to the PATH
.
Also, an installation with pip install .
makes more convinient for updating and uninstalling as described here.
What are your thoughts about this?
@solisoares, Thanks for bringing this to my attention. I will look into doing proper and better packaging for this program. One thing to note is that i never intended for spongebob-cli to be run on windows and thus made no serious attempts to make the program more compatible with windows.
MPV does not work, I am using the Ubuntu terminal from Microsoft Store, and I tried choco, no work..... fix it now!!!