Closed Amia33 closed 1 year ago
EDIT: Problem seems not identified, but it's not working anyway...
TL;DR Process song title for id 11374 from \u3000 to \x20 using current stringQ2B function
\u3000
\x20
stringQ2B
华立土豆服务器的问题有 workaround 之后,bot 这边也有些问题。 id 11374 这歌在 data 里用的是全角空格然后 bot 没有对它做全角转半角导致绘制出错
详细信息:
https://www.diving-fish.com/api/maimaidxprober/player/records:
https://www.diving-fish.com/api/maimaidxprober/player/records
... { "achievements": 100.7703, "ds": 12.8, "dxScore": 1713, "fc": "fcp", "fs": "", "level": "12+", "level_index": 3, "level_label": "Master", "ra": 288, "rate": "sssp", "song_id": 11374, "title": "\u3000", // Here's the problem. "type": "DX" } ...
在src/libraries/maimai_best_50.py中,Line 114-127 定义了转换过程,Line 93 调用它处理了用户名,Line 222-225 处理歌曲名时没调用导致输出了全角空格。
src/libraries/maimai_best_50.py
Closed since it's not mai-bot problem.
EDIT: Problem seems not identified, but it's not working anyway...
TL;DR Process song title for id 11374 from
\u3000
to\x20
using currentstringQ2B
function华立土豆服务器的问题有 workaround 之后,bot 这边也有些问题。 id 11374 这歌在 data 里用的是全角空格然后 bot 没有对它做全角转半角导致绘制出错
详细信息:
https://www.diving-fish.com/api/maimaidxprober/player/records
:在
src/libraries/maimai_best_50.py
中,Line 114-127 定义了转换过程,Line 93 调用它处理了用户名,Line 222-225 处理歌曲名时没调用导致输出了全角空格。