Temp Upload

This commit is contained in:
2023-04-17 02:41:06 +08:00
parent bee7f106c5
commit 18de4e1cea
4 changed files with 45 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ def get_song_lyric(id: str | int | dict, path: str, allinfo: bool = False):
artists = artists[:-1]
name = sinfo["name"]
if not name:
print("歌曲错误!这是网易云的问题,请不要找作者")
return "song_err"
replaces = { # 处理非法字符所用的替换字典(根据网易云下载的文件分析得到)
"|": "",
":": "",

View File

@@ -250,7 +250,9 @@ def get_lyric_from_folder(self):
q_err,
q_info)).start()
allocated += 1
current_process += 1
bar.suffix = f"已分配: {ncm_files[allocated-1]}"
print(len(bar.fill))
bar.update()
while True: # 错误队列检测
try: