Closed ghost closed 2 years ago
sounds like an mpv or an internet issue to me. I don't think it has anything to do with the script
I've encountered this myself a few times in the past. Seems to be arbitrary and on gogo's side
Well I haven't used the official script for a while but I use a custom version of it which uses the exact same methods to scrape the urls and so far I haven't had any issues
I face this most of the time, probably an issue on gogo's side
went through mpv's log file while playing the laggy streams, searched up what looks like an issue and found this
https://github.com/mpv-player/mpv/issues/9149
the solution and explanation : https://github.com/mpv-player/mpv/issues/9149#issuecomment-903646177
That's usually just youtube being stupid and ratelimiting you out of nowhere.
but change youtube to gogoanime
implemented this locally and can confirm that it works, everytime it plays a laggy stream i just reload it using the keybind and the cache is fast again, unfortunately this is only for mpv. we would need to know how to do this with the other video players (vlc,iina)
edit: to use this solution you need to create input.conf file in /etc/mpv , then add o write-watch-later-config; loadfile "${path}"
this line, (o can be changed to key of your choice)
thank you for shedding some light on this! ill try this fix when i got home, although youd need to tell me what to put in {path}, as i have no clue lol
thank you for shedding some light on this! ill try this fix when i got home, although youd need to tell me what to put in {path}, as i have no clue lol
oh just leave path as it is, its an environment variable, it'll create "watch-later" directory inside ~/.config/mpv
this is very convenient! thank you a lot :)
Edit: if theres additions to this ill open the thread again, ill close it now though
in the last few days ive been having this issue with ani-cli on linux where when i open an episode, caching seems to work just fine. It loads quickly for a few seconds, caching around 1-2 minutes of video each time you select to play an episode, but after that it just slows down drastically, making it very unenjoyable to watch after the part of the episode thats already been cached. i need help to fix this, as the script is fully updated and i did a git pull just an hour ago. thanks.