-
Notifications
You must be signed in to change notification settings - Fork 15
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
5月9日左右开始无法获取弹幕 B站,大佬可以修复下吗,感谢你 #149
Comments
弹幕应该去这个仓库提MPV-Play-BiliBili-Comments |
目前自定义播放器没法传cid,代码里写死了,只有mpv会带上cid,自定义播放器不会传 Play-With-MPV/play-with-mpv.user.js Lines 2022 to 2028 in 04a6387
不是很理解你为啥mpv还要自定义,没啥必要吧 |
因为MPV是只考虑了windows平台,即使是设置path=/usr/bin/mpv, 都会修改为mpv.exe。Linux平台只能自定义 #124 本来 MPV-Play-BiliBili-Comments 配合 ytdl可以自动获取cid的, 但这里的脚本传过去的视频地址不是原始的(如下 BV1Tw4m1q7fP),然后main.lua 的 获取 path 也不包含 bilibili.com,所以cid就无法自动找到了?估计是这样。 $ mpv https://www.bilibili.com/video/BV1Tw4m1q7fP
[bilibiliAssert] path=https://www.bilibili.com/video/BV1Tw4m1q7fP, **cid=1570715185**
[bilibiliAssert] 弹幕正在上膛
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 852x480 => 853x480 yuv420p
[bilibiliAssert] DEBUG: Namespace(directory='~/.config/mpv/scripts/bilibiliAssert', size='2044x1152', font='sans-serif',
fontsize=37.0, alpha=0.95, duration_marquee=10.0, duration_still=5.0, filter=None, filter_file=None, protect=864, reduce=True,
cid=['1570715185'])
[bilibiliAssert] 开火 Linux 下一个弹幕成功的方案:
|
5月9日左右开始无法获取弹幕 B站,大佬可以修复下吗,感谢你
The text was updated successfully, but these errors were encountered: