Chris Holland
Chris Holland
Ah, there's a list of keybinding in mpv's `stats.lua` to use as an example. * https://mpv.io/manual/master/#stats * https://github.com/mpv-player/mpv/blob/master/player/lua/stats.lua#L433 * https://mpv.io/manual/master/#command-interface-input-bindings
To log all the bindings: ```lua local bindings = mp.get_property_native("input-bindings", {}) for _, bind in pairs(bindings) do jsonstr, err = utils.format_json(bind) msg.warn(jsonstr) end ``` Here's a few relevant bindings for...
Does this `bindtooltip` branch work good enough? https://github.com/Zren/mpv-osc-tethys/blob/bindtooltip/osc_tethys.lua
I've added a speed button like netflix, and in the process realized how annoying parsing int/real numbers are since lua doesn't have conditional groups, so I can't parse a positive...
https://github.com/Nudin/mpv-script-directory/blob/master/mpv_script_directory.json Hmmm, no mpv-osc-morden or MordenX. ```js "github:TheAMM/mpv_thumbnail_script": { "name": "mpv_thumbnail_script", "url": "https://github.com/TheAMM/mpv_thumbnail_script", "type": "lua script", "install": "git", "receiving_url": "https://github.com/TheAMM/mpv_thumbnail_script", "install_dir": "github/TheAMM/mpv_thumbnail_script", "desc": "Show preview thumbnails when hovering over the...
I don't use many of the `osc.lua` config options (notice there's no `Chapter:` text in the tooltip). I'll add a toggle for that now. Hmmm. `showSeekbarChapter`... might make the user...
... I don't know. Is it loading a 2nd instance of the osc to draw it? `osc_tethys.lua` has `show_osc()` so that should work. Check the errors in the console (`~`...
`ocs_on_seek.lua` comes before `ocs_tethys.lua` alphabetically. Perhaps it's because it hasn't loaded tethys yet? Try renaming the file to start with `z`? If that doesn't work, then maybe put the for...
Ah thanks. I kinda knew the fit might be tight, but I never really tested a video with that many subs. Ended up downloading DBZA Ep 1 which has 25...
With: ```lua local trackButtonSize = tethys.trackButtonSize local trackIconWidth = trackButtonSize * (32/23.273) local trackDigitWidth = trackButtonSize * 0.4 -- "ICON -/0" -- "ICON 1/1" -- "ICON 1/10" local numTrackDigits =...