mpv-menu-plugin icon indicating copy to clipboard operation
mpv-menu-plugin copied to clipboard

context menu, file dialog, clipboard support for mpv

Results 11 mpv-menu-plugin issues
Sort by recently updated
recently updated
newest added

用的是mpv内置菜单实现,在使用[evafast](https://github.com/po5/evafast/tree/rewrite)的时候发现的,他会短时间内连续改变速度,如果菜单的`#@state=`中用到了`speed`属性就会造成菜单频繁更新,有概率导致菜单假死。 手动用evafast复现概率较低,写了个脚本模拟evafast的行为,每隔0.05秒修改一次速度,高强度修改500次基本稳定复现 test.lua ```lua local speed = 1 local i = 0 timer = mp.add_periodic_timer(0.05, function() speed = speed == 1 and 2 or 1 mp.commandv('osd-msg', 'set', 'speed', speed) i...

一直没注意到这个错误,直到看到了这个: hooke007/MPV_lazy#455 。这个问题在 uosc 和 dyn_menu.lua 都存在

一这一行为例 `z script-binding recentmenu/open #menu: Recently Played #@recent` `@recent` 和 inputevent 的解析产生了冲突,导致快捷键失效 ![image](https://github.com/tsl0922/mpv-menu-plugin/assets/50797982/59efb941-0add-459e-8b62-1f740eb579cc) 我希望更改为 `#menu-provider: recent` 这种样子来避免冲突同时明确语义

I am a code beginner. So my code must be ugly. 😶

插件实现和内置实现的表现一致,测试脚本以内置实现为例 ```lua mp.add_forced_key_binding('a', function() mp.set_property_native('menu-data', { { title = '短标题', cmd = 'show-text a', } }) mp.commandv('context-menu') end) mp.add_forced_key_binding('b', function() mp.set_property_native('menu-data', { { title = '长标题长标题长标题长标题长标题长标题', cmd = 'show-text b',...

Could you add an option to have the dialog open in the current file location? This would be useful when using the add subtitle command for example. And for the...

这样在播放列表中随意切换可以记住每个文件的播放位置,比从头开始播放体验更好,\ 与 [jonniek/mpv-playlistmanager](https://github.com/jonniek/mpv-playlistmanager) 的行为保持一致。 我在input.conf中绑定`playlist-prev`和`playlist-next`的时候也习惯加上`write-watch-later-config`,用起来更舒服。

bugfix: strip extra comment from keyword (in keyword_to_menu dict) improve: retain user's shortcut setting when received update messages