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

Blrec适配修复 #85

Merged
merged 8 commits into from
Jul 25, 2024
Merged

Conversation

renmu123
Copy link
Collaborator

修复blrec的舰长和礼物价格 #53

但是未对sc的价格进行修复,我没找到有什么有效字段来判断这是blrec文件。
录播姬倒是可以通过包含<BililiveRecorder字符来判断,要实现的话可以在sc标签中默认giftPriceUnit=1e-3,为录播姬设置为giftPriceUnit=1,但这样可能破坏除这两者之外的bilibili弹幕录制文件。
图片

测试文件:test.zip

renmu123 and others added 8 commits July 13, 2024 00:06
将礼物金额读取单位由“元”改为“厘”,内部存储类型由单精度浮点数统一转换为整型。

BREAKING CHANGE: 由于现在统一以“厘”为单位读入礼物金额,如果在以前单独处理 blrec 的 xml 时将 `price` 统一除以 1000 的话,会在这次更新后使读入金额缩小
1000 倍出现计算错误。

re hihkm#53
@lengyanyu258 lengyanyu258 merged commit 2d9b8f4 into hihkm:master Jul 25, 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

Successfully merging this pull request may close these issues.

2 participants