diff options
author | ben <ben@nagy.contact> | 2025-01-01 17:41:01 -0800 |
---|---|---|
committer | ben <ben@nagy.contact> | 2025-01-01 17:41:01 -0800 |
commit | 16fb12c35ea3a89d3f35c7725e04994e93a407a3 (patch) | |
tree | 917a71998d3ece1118fea82971cd3b61d1e79830 /README.md | |
parent | 49a06fbf9c2a98c58c2c67abed937675aa659833 (diff) |
added gitignore
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 37 |
1 files changed, 36 insertions, 1 deletions
@@ -1 +1,36 @@ -init +# MPV-Android Sleep # Requirements + + +# Setup For the Dummies +In mpv-android + +1. Set the gesture in `Settings > Touch gestures > Double tap (right)` (or other of your choice). + + +2. In `Settings > Advanced > Edit input.conf` + add: `0x1000* script-binding sleep` where `*` should be set as 1, 2, or 3, based on your choice in #2. See key codes below. + +Key Codes (gestures): +- `0x10001` ---> left +- `0x10002` ---> center +- `0x10003` ---> right<br><br> + +<!-- +| Gesture | Key Code | +|---------|-----------| +| Left | 0x10001 | +| Center | 0x10002 | +| Right | 0x10003 | +--> + + + +3. edit `mpv.conf` In `Settings > Advanced > Edit mpv.conf` and add: `script=/storage/emulated/0/Android/media/is.xyz.mpv/scripts/sleep.lua` + +4. Either download [sleep.lua](https://urlcom) on **mobile** to `Android/media/is.xyz.mpv/scripts/` + + or on **PC ---> Android**, use [adb](https://url.com). + + ``` + $: adb push sleep.lua /storage/emulated/0/Android/media/is.xyz.mpv/scripts/ + ``` |