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

如何使用猫抓调用本地的mpv播放视频或播放流媒体? #638

Open
Heaven98op opened this issue Feb 20, 2025 · 2 comments
Open

Comments

@Heaven98op
Copy link

Heaven98op commented Feb 20, 2025

操作系统为windows10,我记得之前有一个版本是可以使用猫抓调用mpv的,我也是使用的
https://github.com/xifangczy/URLProtocol
调用参数:mpv://${url}
现在怎么设置调用参数都不行了,请教一下各位大佬。

@he852100
Copy link

你没弄对。把${url}或mpv://${url}或mpv:${url}放对地方就行。
mpv:${url} --title="${title}"

@xifangczy
Copy link
Owner

chrome从某个版本开始 自定义协议会有这个问题 如果第一个参数如果是url 不应该使用 mpv:// 需要去掉 //

你没弄对。把${url}或mpv://${url}或mpv:${url}放对地方就行。 mpv:${url} --title="${title}"

是正确的

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

3 participants