Fix MPV menu: resolve Lua syntax error and enhance logging
- Remove extra 'end)' that caused '<eof>' expected syntax error at line 2834 - Add comprehensive logging to M.show_menu() with [MENU] prefix - Add logging wrappers to keybindings (m and mbtn_right) - Implement fallback menu opening methods (commandv and command) - Fix audio-display mpv.conf setting to 'no' (was invalid 'yes')
This commit is contained in:
18
MPV/portable_config/input.conf
Normal file
18
MPV/portable_config/input.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# Custom input bindings for Medios-Macina
|
||||
# This file overrides MPV's default input bindings to ensure our script bindings work.
|
||||
|
||||
# Override MPV's default right-click behavior (which toggles pause)
|
||||
# and route it to our custom menu handler instead.
|
||||
# Use script-message to directly call the Lua function
|
||||
mbtn_right script-message medios-menu-trigger
|
||||
|
||||
# Menu toggle (middle-click alternative if needed)
|
||||
m script-message medios-menu-trigger
|
||||
|
||||
# Standard info/delete shortcuts
|
||||
ctrl+i script-message medios-info-trigger
|
||||
ctrl+Del script-message medios-delete-trigger
|
||||
|
||||
# Lyrics
|
||||
l script-message medeia-lyric-toggle-trigger
|
||||
L script-message medeia-lyric-toggle-shift-trigger
|
||||
@@ -13,7 +13,7 @@ ontop=yes
|
||||
autofit=45%
|
||||
# Avoid showing embedded cover art for audio-only files if uosc isn't working,
|
||||
# but we keep it enabled for now to ensure a window exists.
|
||||
audio-display=yes
|
||||
audio-display=no
|
||||
keepaspect=no
|
||||
video-unscaled=no
|
||||
cursor-autohide=1000
|
||||
|
||||
Reference in New Issue
Block a user