Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B站播放列表不显示标题 #68

Closed
Trudeau566 opened this issue Jun 17, 2024 · 5 comments
Closed

B站播放列表不显示标题 #68

Trudeau566 opened this issue Jun 17, 2024 · 5 comments

Comments

@Trudeau566
Copy link

只显示网址,怎么像左边一样显示标题?
PixPin_2024-06-18_06-19-07

@hooke007
Copy link

你左边的脚本是不是用了ytdlp遍历预处理了一遍

@Trudeau566
Copy link
Author

你左边的脚本是不是用了ytdlp遍历预处理了一遍

左边的脚本开启了这项就会显示标题resolve_url_titles=yes
右边菜单了的能不能也显示标题?

@hooke007
Copy link

resolve_url_titles=yes

https://github.com/jonniek/mpv-playlistmanager?tab=readme-ov-file#title-resolving
所以是外部程序实现的

@dyphire
Copy link
Contributor

dyphire commented Jun 22, 2024

playlistmanager 的解析 url 标题的实现比较 hack,不适合移植到其他脚本。但可以利用 mpv 的 user-data 属性传递解析好的标题数据让感兴趣的其他脚本调用它

playlistmanager 上的 PR :jonniek/mpv-playlistmanager#144
uosc 上的使用示例:dyphire/uosc@3c1fc94

但是 mpv-menu-plugin 的脚本无法很好地利用这个方式,因为它的播放列表菜单只有playlist属性变化时才会刷新,无法实现监控对应的user-data 属性来进行刷新菜单。除非更改为 uosc 的菜单刷新方式否则无法很好的解决这一点

@tsl0922
Copy link
Owner

tsl0922 commented Jun 28, 2024

暂不考虑在这个插件实现此功能。

@tsl0922 tsl0922 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants