Comments (26)
Same problem here, couldn't get setsid
working on my mac (big sur 11.6)
Fixed the problem by removing the setsid
command on line:
Line 213 in 7d9ae36
and running just the
mpv
command in the background.Also added kill process for closing the player when next / prev episode is played:
not pretty but it works ^^
from ani-cli.
setsid
isn't on mac (big sur 11.6) by default so brew install util-linux
and add it to your PATH.
from ani-cli.
Here's an easy copy and paste fix if you have brew & zsh:
brew install util-linux
echo 'export PATH="/usr/local/opt/util-linux/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/util-linux/sbin:$PATH"' >> ~/.zshrc
export LDFLAGS="-L/usr/local/opt/util-linux/lib"
export CPPFLAGS="-I/usr/local/opt/util-linux/include"
export PKG_CONFIG_PATH="/usr/local/opt/util-linux/lib/pkgconfig"
from ani-cli.
Here's an easy copy and paste fix if you have brew & zsh:
brew install util-linux echo 'export PATH="/usr/local/opt/util-linux/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/usr/local/opt/util-linux/sbin:$PATH"' >> ~/.zshrc export LDFLAGS="-L/usr/local/opt/util-linux/lib" export CPPFLAGS="-I/usr/local/opt/util-linux/include" export PKG_CONFIG_PATH="/usr/local/opt/util-linux/lib/pkgconfig"
These worked for me
from ani-cli.
cli shows that the anime is currently playing, but didnt open mpv at all, i do not know if this is a windows only problem or what
Same problem in LMDE4.
from ani-cli.
Same as #32 ?
from ani-cli.
Same problem in Ubuntu mate 21.04
from ani-cli.
I thought I was going to run into this problem, but I waited for a bit and eventually mpv launched. I was doing this on a raspberry pi4 B+ 8gb, in dietpi. The only issue I had was buffering issue but that is something seperate.
from ani-cli.
It's a compatibility issue. Please print your version of setsid
setsid -V
Older version of setsid
doesn't have the argument -f
from ani-cli.
It's a compatibility issue. Please print your version of
setsid
setsid -V
Older version of
setsid
doesn't have the argument -f
is there a library / site to download from that is convenient for windows?
from ani-cli.
I thought I was going to run into this problem, but I waited for a bit and eventually mpv launched. I was doing this on a raspberry pi4 B+ 8gb, in dietpi. The only issue I had was buffering issue but that is something seperate.
Yes, mpv launches but it's like 1-5% chance that it will launch after clicking or manually opening mpvPlayer, not automatically as it should be.
from ani-cli.
It's a compatibility issue. Please print your version of
setsid
setsid -V
Older version of
setsid
doesn't have the argument -fis there a library / site to download from that is convenient for windows?
im using setsid from util-linux 2.34 but finding same issue. is this version not recent enough?
from ani-cli.
@Dylan-bit247 Your version is recent enough. The setsid -f
flag was introduced in util-linux 2.32.
Can you give more info about your OS?
from ani-cli.
It's a compatibility issue. Please print your version of
setsid
setsid -V
Older version of
setsid
doesn't have the argument -fis there a library / site to download from that is convenient for windows?
im using setsid from util-linux 2.34 but finding same issue. is this version not recent enough?
I am also using util-linux 2.37.2 on EndeavourOs. I can't really figure out why this happens as setsid seems to work perfectly fine but I have to open an mpv window every time for it to load.
from ani-cli.
My solution for MacOS BigSur =)
So yes, as @slcheungcasado proposed it is needed to install util-linux:
$ brew install util-linux
But this wouldn't work yet, because it is not yet symlinked into /usr/local
by brew, so you need to do some magic:
$ ln -s /usr/local/opt/util-linux/bin/setsid /usr/local/bin/setsid
Note: I do this, but it's not recommended as Homebrew prefers to manage this itself.
from ani-cli.
alright so, my problem was that the ani-cli program opened, but mpv wouldn't open. and so I decided to play around and see what I could find, and that's when I decided to download one episode of the anime I was trying to watch, and I found this:
so basically it cannot download it, are the links down or maybe something else is happening?
from ani-cli.
alright so, my problem was that the ani-cli program opened, but mpv wouldn't open. and so I decided to play around and see what I could find, and that's when I decided to download one episode of the anime I was trying to watch, and I found this:
so basically it cannot download it, are the links down or maybe something else is happening?
Is it working when you just trying to watch anime? (without downloading)
from ani-cli.
alright so, my problem was that the ani-cli program opened, but mpv wouldn't open. and so I decided to play around and see what I could find, and that's when I decided to download one episode of the anime I was trying to watch, and I found this:
so basically it cannot download it, are the links down or maybe something else is happening?Is it working when you just trying to watch anime? (without downloading)
well, no, but, in both cases it shows that the data has been loaded successfully, even tho the data is this
from ani-cli.
alright so, my problem was that the ani-cli program opened, but mpv wouldn't open. and so I decided to play around and see what I could find, and that's when I decided to download one episode of the anime I was trying to watch, and I found this:
so basically it cannot download it, are the links down or maybe something else is happening?Is it working when you just trying to watch anime? (without downloading)
well, no, but, in both cases it shows that the data has been loaded successfully, even tho the data is this
Can you please try
$ setsid -V
from ani-cli.
alright so, my problem was that the ani-cli program opened, but mpv wouldn't open. and so I decided to play around and see what I could find, and that's when I decided to download one episode of the anime I was trying to watch, and I found this:
so basically it cannot download it, are the links down or maybe something else is happening?Is it working when you just trying to watch anime? (without downloading)
well, no, but, in both cases it shows that the data has been loaded successfully, even tho the data is this
Can you please try $ setsid -V
oh, shucks, looks like it's too old, it's util-linux 2.31.1
from ani-cli.
Can you please try $ setsid -V
oh, shucks, looks like it's too old, it's util-linux 2.31.1
Yeah, it seems old, can you update it? And, also can you check that you have the latest version of ani-cli, because about 8 days ago was an essential update to by pass the captcha on gogoanime. I'm not sure how to update this thing, but probably this
$ cd ani-cli
$ git pull
$ sudo make
should work.
from ani-cli.
Can you please try $ setsid -V
oh, shucks, looks like it's too old, it's util-linux 2.31.1
Yeah, it seems old, can you update it? And, also can you check that you have the latest version of ani-cli, because about 8 days ago was an essential update to by pass the captcha on gogoanime. I'm not sure how to update this thing, but probably this
$ cd ani-cli $ git pull $ sudo make
should work.
sorry for the long answer, but long story short when I wanted to update it I ran into an issue. I couldn't get it updating. then I decided to reinstall util-linux(not the best idea, but it was 11pm and I was drunk and raging), broke my entire system, and had to reinstall ubuntu. but hey, at least it works now
from ani-cli.
I decided to reinstall util-linux(not the best idea, but it was 11pm and I was drunk and raging), broke my entire system, and had to reinstall ubuntu. but hey, at least it works now
AHAHAHAHA, you made me laugh with tears))) It's fine. It is said beauty costs pain)
from ani-cli.
@Dylan-bit247 Your version is recent enough. The
setsid -f
flag was introduced in util-linux 2.32.
Can you give more info about your OS?
I got it worked using a forked version of an earlier build also I entered ani-cli _H by mistake and got something interesting out of it… don’t suppose you can try this on the official version and see if this is something special built in or something… I went though the code before installing to make sure it didn’t do anything I’m not ok with, but I missed this functionality and am now looking for more surprises hidden within.
from ani-cli.
I entered ani-cli _H by mistake and got something interesting out of it…
What do you mean? I see the expected behaviour -- it lists an
ime's, that you get when you search _H at https://gogoanime.vc/.
from ani-cli.
Long story short: setsid is terrible and we should move to nohup quickly.
See #2 and the linked PR #137
Continue discussion there
from ani-cli.
Related Issues (20)
- Couldn't find manifest for 'ani-cli HOT 1
- Anime episodes do not appear HOT 11
- "No results found!" on fresh ani-cli install HOT 3
- Iina not found on MacOS ventura although installed (including `nix-shell --arg withIina true`) HOT 1
- patch tool missing from dependency for Fedora HOT 7
- ”No results found!” HOT 11
- Can't download episode in dub HOT 8
- Add a --no-detach option HOT 5
- Not Working on OpenBSD HOT 14
- No Results Found HOT 8
- Asks for Windows dependencies when inside WSL 2 HOT 1
- MPV not opens HOT 1
- need help with ani-cli on steam deck HOT 6
- Curl update broke the ani-cli HOT 4
- 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
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.