aniyomiorg/aniyomi

mpv lua script not working on android 10

mdaryl27 opened this issue · 1 comments

Steps to reproduce

  1. enable MPV scripts in player settings
  2. put the script at mpv-config/scripts
    sub.lua.zip
  3. play the downloaded episode

Expected behavior

The subtitle should be in english
I tested the script in mpv linux desktop and its working but when using aniyomi it's not working

Actual behavior

Screenshot_20240812_100354_xyz jmir tachiyomi mi debug

always select the first subtitle in an alphabetical order

Crash logs

No response

Aniyomi version

Preview r7801 and Stable 0.16.4.3

Android version

Android 10

Device

Huawei Nova 7i

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an extension, I should be opening an issue in the extension's repository.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.16.4.3.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.

Ok! Its working now!, just added script=/sdcard/Aniyomi/mpv-config/scripts/sub.lua in the "Advance Player Setting -> Edit MPV configuration ..."