Comments (19)
If I need to install a wsl then there's no point making this version. This version is all about running this thing on windows directly and without any linux vm or subsytems.
from ani-cli.
Hey @deveshk103! Sorry if I'm a little confused but I get you are on Windows?
In order for me to make it work (on Windows), I had to switch the branch to the Windows one. You do that by executing the command below within the root directory of the project (where ani-cli is located).
git checkout windows-vlc
Then I made it an executable:
chmod +x ani-cli-win
Should be fine when you do ./ani-cli-win
in the directory.
Let me know.
from ani-cli.
Thanks to @asciiden everything worked for me.
I am mentioning some steps to get it running in Windows
Just install "Scoop" using cmd. (You can find that in google)
In cmd, type
Scoop bucket add extras
In cmd, type
scoop install vlc
Now go to windows branch through github and download it's zip and extract it.
It will ask to install git and 7zip (it's dependencies). Just install everything
Now in cmd, create a folder in current user directory named ".cache" using mkdir function
Now navigate to ani-cli-windows folder and run git bash there.
Now run command
chmod +x ani-cli-windows-vlc
Now just type the command
./ani-cli-windows
It will work for sure .
from ani-cli.
possible workaround: using WSL2 and WSLg you can run graphical linux apps on windows, try "wsl --install" to install and setup wsl as well as install ubuntu as the default distro, see https://docs.microsoft.com/en-us/windows/wsl/install
from ani-cli.
I am running the original script (not windows fork) and it works just fine. The steps are below to make it work. Try this once.
Windows install instructions
- Install git bash from https://gitforwindows.org/ It has all the depedencies except mpv.
- Install scoop by following the instructions in https://scoop.sh/ , the Powershell instructions from the website are listed below.
Set-ExecutionPolicy RemoteSigned -scope CurrentUser iwr -useb get.scoop.sh | iex Set-ExecutionPolicy Restricted -scope CurrentUser
- After installing scoop, run the below commands in git-bash.
scoop bucket add extras scoop install mpv
- Go to ani-cli folder, open git-bash in that location and run the below to start the script.
./ani-cli
from ani-cli.
I beileve it just created some make configs and then cracked the system.
What to do now?
It's still not working
from ani-cli.
Hey, I believe this is because you don't have a .cache folder under /c/Users/deves/
Try running the following to create the directory:
mkdir /c/Users/deves/.cache
Try running ani-cli again
./ani-cli
from ani-cli.
Thanks, that worked, but I still have this last issue. I've already install mpv player but it's not loading the screen. I mean it just stops here.
Nothing further happen i.e. video doesn't start and no dialog or application is open.
from ani-cli.
I am running the original script (not windows fork) and it works just fine. The steps are below to make it work. Try this once.
That's what I did btw. I installed MPV using Scoop so it's automatically added to path. However, I'm using WSL (which btw is incredibly easy to install and doesn't require a VM 🙂) and had to add .exe
to the mpv path at the top. I also added an ani-cli.bat
that just runs bash ani-cli %*
so I can run the command from Windows. c:
from ani-cli.
I am running the original script (not windows fork) and it works just fine. The steps are below to make it work. Try this once.
That's what I did btw. I installed MPV using Scoop so it's automatically added to path. However, I'm using WSL (which btw is incredibly easy to install and doesn't require a VM 🙂) and had to add
.exe
to the mpv path at the top. I also added anani-cli.bat
that just runsbash ani-cli %*
so I can run the command from Windows. c:
@FayneAldan I tried doing that but mpv doesn't start for me when using ani-cli. Works if I try to play a file manually though. Which version of wsl are you using?
from ani-cli.
I tried doing that but mpv doesn't start for me when using ani-cli. Works if I try to play a file manually though.
MPV still has to be in PATH, which Scoop does automatically, and you have to change mpv
to mpv.exe
(or mpv.com
) at the top of the script so WSL finds and executes mpv.exe from PATH. Alternatively, if you have WSLg you can just install MPV in WSL.
from ani-cli.
I tried doing that but mpv doesn't start for me when using ani-cli. Works if I try to play a file manually though.
MPV still has to be in PATH, which Scoop does automatically, and you have to change
mpv
tompv.exe
(ormpv.com
) at the top of the script so WSL finds and executes mpv.exe from PATH. Alternatively, if you have WSLg you can just install MPV in WSL.
@FayneAldan MPV is in PATH and I can execute it in both powershell and wsl. I tried using gwsl from microsoft store(not wslg) but it didn't work, I was getting a black window which turned white when I tried to resize or move it around.
from ani-cli.
Can you run wsl --status
in powershell and send the output here?
from ani-cli.
Are you able to open MPV from WSL Bash by typing mpv.exe?
from ani-cli.
I noticed that both mpv
and mpv.exe
worked so I tried removing linux version with sudo apt remove mpv
. Seems like ani-cli is still trying to use linux mpv even though I change player to mpv.exe
from ani-cli.
ani-cli.zip
here is my current version of the script
from ani-cli.
If you have wslg it could be launching linux mpv automatically even though you also have .exe
in the script. Could you check that please?
from ani-cli.
@deveshk103
Great stuff! Happy you got it going.
from ani-cli.
I think someone should update the README for windows.
sudo make
is unnecessary and will create problems.
from ani-cli.
Related Issues (20)
- Missing latest tag and release HOT 3
- Add URL Grab HOT 2
- Add option for showing if episode failed to download HOT 3
- antivirus blocking connections HOT 7
- No Sound in Video Player (MPV) HOT 7
- Filter anime by genre HOT 2
- Next and Previous Playback Options not Working Without Quitting IINA HOT 3
- Scoob unable to find ani-cli manifest. HOT 2
- can't update HOT 3
- Ability to watch and search for raw anime HOT 4
- can you make it compatible for andriod and ios (which can be embedded in an app) HOT 2
- sound bug
- no sound in windows HOT 3
- Windows scoop version causes 'Open With' dialogue HOT 7
- "-ash: ani-cli: Permission denied" when trying to HOT 1
- Mac M1 not fetching certain links correctly HOT 10
- Video Player not opening HOT 6
- Site Request: Anplay.in, Animedekho.com, toonworld4all HOT 3
- Anime doesn't start and directly open menu after choosing episode HOT 7
- [Fedora COPR Repo] Updating ani-cli requires ffmpeg even when ffmpeg-free is installed, resulting in conflicts HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ani-cli.