Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't watch anime from the new termux pkg #718

Closed
TheRealOne78 opened this issue May 8, 2022 · 12 comments
Closed

Can't watch anime from the new termux pkg #718

TheRealOne78 opened this issue May 8, 2022 · 12 comments
Assignees
Labels
os: android android termux compatibility priority 2: medium Default for bugs type: bug something isn't working

Comments

@TheRealOne78
Copy link

Metadata (please complete the following information)
Version: 2.2
OS: Termux android 12
Shell: zsh
Anime: any

Describe the bug
The old md file explained how to link mpv with the android installed mpv. Now the md file only explains how to install the pkg file, but not how to link mpv(from termux) to mpv(android)

Steps To Reproduce

  1. Install ani-cli from pkg and apt with pkg install ani-cli
  2. Search anime from ani-cli and play it
  3. Mpv android does not open anymore, only audio plays

Expected behavior
ani-cli should have opened the anime in mpv android

@TheRealOne78 TheRealOne78 added priority 2: medium Default for bugs type: bug something isn't working labels May 8, 2022
@TheRealOne78
Copy link
Author

It also looks like this issue would be somewhat related to #697

@port19x
Copy link
Collaborator

port19x commented May 8, 2022

@CoolnsX Is this on your radar?
I hope we can semi-automate installation via the termux package, so I still believe the solution is a better termux package and not completely reverting to the previous termux install

@port19x port19x added the os: android android termux compatibility label May 8, 2022
@CoolnsX
Copy link
Collaborator

CoolnsX commented May 9, 2022

Yup..

@TheRealOne78
Copy link
Author

Until the problem is solved, the readme.md could still contain

echo 'am start --user 0 -a android.intent.action.VIEW -d "$1" -n is.xyz.mpv/.MPVActivity' > $PREFIX/bin/mpv

@port19x
Copy link
Collaborator

port19x commented May 10, 2022

We need to add the following to the termux build.sh

echo 'am start --user 0 -a android.intent.action.VIEW -d "$1" -n is.xyz.mpv/.MPVActivity' > $PREFIX/bin/mpv

In the process we can remove the mpv dependency, since we use the external mpv dependency.
We may also want to print a notice to the screen that the external mpv android app is required

@port19x
Copy link
Collaborator

port19x commented May 10, 2022

Unless @CoolnsX does so before me, I will open a PR on termux-packages tomorrow

@CoolnsX
Copy link
Collaborator

CoolnsX commented May 10, 2022

U do it... I m currently analysing how to scrape animixplay..

@CoolnsX
Copy link
Collaborator

CoolnsX commented May 10, 2022

Also I will be busy for 1 month cause semester exam...

@port19x
Copy link
Collaborator

port19x commented May 11, 2022

U do it... I m currently analysing how to scrape animixplay..

Alright

@port19x
Copy link
Collaborator

port19x commented May 12, 2022

PR opened

@port19x
Copy link
Collaborator

port19x commented May 13, 2022

Should be fixed now, can someone confirm?

@port19x port19x closed this as completed May 13, 2022
@TheRealOne78
Copy link
Author

Indeed it works as expected, very nice :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: android android termux compatibility priority 2: medium Default for bugs type: bug something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants