1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-26 09:59:45 +08:00

Auto-format code 🧹🌟🤖

This commit is contained in:
Formatter [BOT]
2026-01-18 02:06:10 +00:00
parent 9f6cc93fdf
commit ee6b7a6a32

View File

@@ -508,7 +508,7 @@ class MusicLibrary:
self.log.info(f"根据【{name}】找到歌曲【{real_names}")
if name in real_names:
return [name]
# 音乐不在查找结果同时n大于1, 模糊匹配模式,扩大范围再找,最后保留随机 n 个
if n > 1:
real_names = find_best_match(