-
更新mpv和你的thumbfast后控制台有一条提示:[thumbfast]subprocess failed:killed,这个是不是就是c8ecdc5 “thumbfast 脚本更新:在子进程中禁用上游新的媒体控制特性”?属于预期内得日志吗?感谢 |
Beta Was this translation helpful? Give feedback.
Answered by
zhongfly
Aug 5, 2024
Replies: 1 comment 6 replies
-
编辑:我在控制台没有看到此提示,打开 mpv 日志后看到了。这和引用的提交还有 mpv 更新都无关,使用之前的 thumbfast 脚本或旧版 mpv 一样可以在日志中看到它 应该是 thumbfast 脚本的小问题,不影响实际使用 更新:该 failed 仅在文件退出和切换时发生 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
略微深入分析:
可以看mpv手册,其中子进程有一个选项感觉就和这个有关:https://mpv.io/manual/master/#command-interface-playback-only 默认是true,作用是当前播放结束时杀死进程,描述上看和这里提到的问题相符。
再看thumbfast的相关代码:https://github.com/po5/thumbfast/blob/f1fdf10b17f394f2d42520d0e9bf22feaa20a9f4/thumbfast.lua#L73
除了not pre_0_30_0且async为false时,会设置playback_only为false外,其他情况要么是true,要么没设置(那就会用默认值true)。而脚本实际上压根不存在playback_only为false的情况,因为它写死了pre_0_30_0是true
综上,应该完全是预期行为