pystardust / ani-cli

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

Only plays in background on Termux on Android #449

Closed dsivasuthan closed 2 years ago

dsivasuthan commented 2 years ago

Metadata (please complete the following information) Version: 1.5.5 OS: Android Shell: bash on Termux Anime: Not applicable

Describe the bug I installed following instruction on README (I had to manually create the bin files but that's not an issue) I installed mpv via Termux. Even though all the command ran without any error, I wasn't able to run ani-cli by itself, so I ran ./ani-cli from the git folder and that worked I searched for Silver Spoon and it found the anime but it started playing in the background. How do I make it play via mpv from F-Droid?

Thanks for creating this script. I got it to work on my laptop but not on my phone. Any help is appreciated. Thanks.

CoolnsX commented 2 years ago

First install termux-tools apt install termux-tools Then replace line 426 with termux-open --content-type video "$video_url" This above line doesn't require specific video player.. as long as your video player supports streaming like vlc, mpv for Android, MX player P.S. - you have to select your player in pop-up

CoolnsX commented 2 years ago

Keep in mind that auto play doesn't work in termux.. so don't give the range while watching episode..

RaynardGerraldo commented 2 years ago

This issue can be closed by aa2fe797a7cdfd6773439d5475480e0ac6805009 @CoolnsX right?

port19x commented 2 years ago

Probably resoved by aa2fe79