Skip to content

Commit

Permalink
Fixed errors related to traversing song files
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Mar 14, 2024
1 parent 1834630 commit ac5a465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,10 +560,10 @@ def run(self) -> None:
if file.lower().endswith('.cue'):
file_path = os.path.join(root, file)
try:
songs, audio_file_paths = parse_cue(file_path)
songs, cue_audio_file_paths = parse_cue(file_path)
if len(songs) > 0:
song_infos.extend(songs)
cue_audio_files.extend(audio_file_paths)
cue_audio_files.extend(cue_audio_file_paths)
cue_count += 1
else:
logging.warning(f"没有在cue文件 {file_path} 解析到歌曲")
Expand Down

0 comments on commit ac5a465

Please sign in to comment.