pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.92k stars 543 forks source link

[Feature Request] Ability to change Video Quality in Streams and Downloads #42

Closed ZN0N15 closed 2 years ago

ZN0N15 commented 2 years ago

Is it possible to have the ability to change the video quality of the anime? I'm pretty sure Gogoanime has a Multiquality Server that lets you pick what quality to choose when watching. Currently ani-cli just defaults to 1080p/720p which I don't really use because streaming it is slow and sometimes get tearing/artifacting issues, and it uses lots of disk space to download. I always go for the Multiquality Server on Gogoanime to manually choose 360p when streaming or downloading. Please consider having the option to choose video quality if Possible.

EsmailELBoBDev2 commented 2 years ago

i agree, i want this feature too

IoannisTM commented 2 years ago

I am going to piggy back on this , but feel free to separate it as request if you believe so.

also choosing server would be nice if possible. I am not sure if it can show which servers has what quality so you can choose. Although for the opposite reason, I always choose the highest quality .

stl3 commented 2 years ago

I got mad buffering issues so I have to put mpv in pause all the time. I'd like to have an option to choose quality, and perhaps also an option to add my own proxy? I could do it from outside, but if it's possible to just do it straight from a conf or something I'd appreciate it.

Dink4n commented 2 years ago

How would you like to select the quality?

  1. Give quality through argument. If the quality is not found fallback to the highest quality.
ZN0N15 commented 2 years ago
1. Give quality through argument. If the quality is not found fallback to the highest quality.

What arguments do I put after the -q flag? Do I just put something like 720p? Do I still have to put the Anime Title Before or After the arguments? How do you do it?

Dink4n commented 2 years ago

You give the quality like

ani-cli -q 360
ZN0N15 commented 2 years ago

It works well. Thanks!

Also I'm curious, was the change in URL necessary? I saw you changed from https://gogoanime.vc to https://gogoanime.pe, which I didn't know that domain existed. I always went to .vc which still included the Multiquality video server. Does the .pe domain default to the Multiquality video?

stl3 commented 2 years ago

It works well. Thanks!

Also I'm curious, was the change in URL necessary? I saw you changed from https://gogoanime.vc to https://gogoanime.pe, which I didn't know that domain existed. I always went to .vc which still included the Multiquality video server. Does the .pe domain default to the Multiquality video?

Maybe the other can be used as a 'failover' with a timeout that cycles between them if one cannot be reached

Dink4n commented 2 years ago

@ZN0N15 In my region https://gogoanime.vc is blocked. So I have to use the https://gogoanime.pe to get it to work.

Dink4n commented 2 years ago

Merged #46. Closing