-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
原先的原生菜单构建辅助脚本 menu_dyn 改名为 contextmenu_plus ; 增加此脚本对应的示例语法文件 input_contextmenu_plus.conf 如果需要独立于mpv窗口外的图形菜单,推荐改用原生的上下文菜单功能,否则建议使用uosc的osd菜单。 close #60
- Loading branch information
Showing
10 changed files
with
98 additions
and
2,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
##⇘⇘此文件仅展示 contextmenu_plus (mpv内建菜单的辅助脚本) 的上下文菜单的对应语法 | ||
##如不采用辅助脚本,而使用原始的菜单构建方法(自编辑脚本来实现),参见 https://mpv.io/manual/master/#command-interface-menu-data | ||
|
||
# ignore #! ⇲ 轨道列表(聚合) > #@tracks | ||
# ignore #! ⇲ 播放列表 > #@playlist | ||
# playlist-shuffle #! 导航 > 播放列表乱序重排 | ||
# ignore #! 导航 > ⇲ 版本列表 > #@editions | ||
# ignore #! 导航 > ⇲ 章节列表 > #@chapters | ||
# ignore #! 导航 > ⇲ 视频轨列表 > #@tracks/video | ||
# ignore #! 导航 > ⇲ 音频轨列表 > #@tracks/audio | ||
# ignore #! 导航 > ⇲ 字幕轨列表 > #@tracks/sub | ||
# ignore #! 导航 > ⇲ 次字幕轨列表 > #@tracks/sub-secondary | ||
|
||
# screenshot video #! 截屏 | ||
# screenshot window #! 截屏(窗口) | ||
|
||
# cycle-values hwdec "auto" "auto-copy" "no" #! 视频 > 切换 解码模式 | ||
# cycle deband #! 视频 > 切换 去色带状态 | ||
# cycle deinterlace #! 视频 > 切换 去隔行状态 | ||
# cycle icc-profile-auto #! 视频 > 切换 自动校色 | ||
# cycle correct-pts #! 视频 > 切换 时间码解析模式 | ||
|
||
# script-binding display-stats-toggle #! 工具 > 常驻显示统计信息 | ||
# script-binding console/enable #! 工具 > 显示控制台 | ||
# cycle border #! 工具 > 切换 窗口边框 | ||
# cycle ontop #! 工具 > 切换 窗口置顶 | ||
# ignore #! 工具 > ⇲ 音频输出设备列表 > #@audio-devices | ||
|
||
# stop #! 停止 | ||
# quit #! 退出mpv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
###不支持参数后注释,须另起一行 | ||
###不允许选项和值之间存在多余的空格 | ||
|
||
# 是否启用mpv的原生菜单功能,默认 yes | ||
use_mpv_impl=yes | ||
|
||
# 使用默认的 input.conf 文件作为菜单构建文件,默认 default ,或者手动指定其它文件 | ||
input_conf=default | ||
|
||
# 是否启用类uosc的语法(不会占用某个快捷键位),默认 yes | ||
uosc_syntax=yes | ||
# 是否启用uosc作为个别功能的回退,默认 no | ||
uosc_alt=no | ||
|
||
# 是否启用标题转义,默认 yes | ||
escape_title=yes | ||
# 限制标题显示的字符数,0 为禁用,默认 40 | ||
max_title_length=40 | ||
# 限制播放列表显示的项目数,0 为禁用,默认 20 | ||
max_playlist_items=20 |
Oops, something went wrong.