strip more

This commit is contained in:
2026-04-03 11:59:18 +02:00
parent 0ed904319d
commit fd9d7859b8
15 changed files with 71 additions and 27498 deletions
+15
View File
@@ -16,3 +16,18 @@
| ---------- | ------------------------------------- | ---------------------------------------------- | | ---------- | ------------------------------------- | ---------------------------------------------- |
| alass | 字幕自动同步autosubsync 脚本) | `paru -S alass` | | alass | 字幕自动同步autosubsync 脚本) | `paru -S alass` |
| ffsubsync | 字幕自动同步alass 的替代) | `pip install ffsubsync` | | ffsubsync | 字幕自动同步alass 的替代) | `pip install ffsubsync` |
## 字体
弹幕中可能出现 emoji, 因此需要使用支持的字体, 例如将 Symbola 加到 Noto Sans CJK SC 的末尾:
```xml
<match target="pattern">
<test name="family">
<string>Noto Sans CJK SC</string>
</test>
<edit mode="append" name="family">
<string>Symbola</string>
</edit>
</match>
```
+1 -1
View File
@@ -63,7 +63,7 @@ icc/ # ICC 色彩配置文件
1. 在 mpv 中按 `M` 触发 manager.lua观察控制台输出确认无 `FAILED` 条目 1. 在 mpv 中按 `M` 触发 manager.lua观察控制台输出确认无 `FAILED` 条目
2. 更新完成后删除 manager 在子目录留下的嵌套 `.git`(否则 `git add` 会失败): 2. 更新完成后删除 manager 在子目录留下的嵌套 `.git`(否则 `git add` 会失败):
```bash ```bash
find ~/.config/mpv -mindepth 2 -name .git -type d | sort -r | xargs rm -rvf find -L ~/.config/mpv -mindepth 2 -name .git -type d | sort -r | xargs rm -rf
``` ```
3. 重启 mpv检查控制台有无 `unknown key` 或脚本加载失败的警告 3. 重启 mpv检查控制台有无 `unknown key` 或脚本加载失败的警告
4. 若有 `unknown key` 警告,说明对应脚本的配置项发生变化,找 `script-opts/` 下同名 `.conf` 对照脚本源码更新 4. 若有 `unknown key` 警告,说明对应脚本的配置项发生变化,找 `script-opts/` 下同名 `.conf` 对照脚本源码更新
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -1,3 +1,5 @@
-- https://github.com/Seme4eg/mpv-scripts/blob/master/script-modules/extended-menu.lua
local mp = require 'mp' local mp = require 'mp'
local utils = require 'mp.utils' local utils = require 'mp.utils'
local assdraw = require 'mp.assdraw' local assdraw = require 'mp.assdraw'
@@ -449,7 +451,7 @@ end
I was too lazy to list all modifications i've done to the script, but if u I was too lazy to list all modifications i've done to the script, but if u
rly need to see those - do diff with the original code rly need to see those - do diff with the original code
]] ]]
-- --
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- START ORIGINAL MPV CODE -- -- START ORIGINAL MPV CODE --
@@ -868,8 +870,8 @@ function em:get_bindings()
{ 'home', function() self:go_home() end }, { 'home', function() self:go_home() end },
{ 'ctrl+e', function() self:go_end() end }, { 'ctrl+e', function() self:go_end() end },
{ 'end', function() self:go_end() end }, { 'end', function() self:go_end() end },
{ 'ctrl+shift+f',function() self:handle_pgdown() end }, { 'ctrl+shift+f', function() self:handle_pgdown() end },
{ 'ctrl+shift+b',function() self:handle_pgup() end }, { 'ctrl+shift+b', function() self:handle_pgup() end },
{ 'pgdwn', function() self:handle_pgdown() end }, { 'pgdwn', function() self:handle_pgdown() end },
{ 'pgup', function() self:handle_pgup() end }, { 'pgup', function() self:handle_pgup() end },
{ 'ctrl+c', function() self:clear() end }, { 'ctrl+c', function() self:clear() end },