Auto Enable for MPV Android
aeseok opened this issue · comments
Hello, just trying to get this to work on MPV Android, total code noob so please help me out :). I think by default the script has to be enabled by a keybind and well I don't have access to a keyboard on the Android version of the app.
I've not tried using scripts with the android app, so I can't help with that specifically. If you can set script options (script-opts
) then you can try to set skipsilence-enabled=yes
, which enables the script from the start. E.g. with mpv command line the equivalent option would be --script-opts-append=skipsilence-enabled=yes
@aeseok Luckily for you I've just got working setup.
First you need api29 apk from github releases so it can access filesystem [check app permissions if full file system access is enabled].
Secondly, enable script via script=/storage/emulated/0/MPV/scripts/skipsilence.lua
in mpv.conf
[you can change the dir]
And finally, bind the script to doubletap of your choice 0x10003 script-binding skipsilence/toggle
in input.conf
[here it's doubletap on the right side].
Also, remember to set Double tap (right)
in touch gestures to custom
Works great!