use same naming for lyrics as tracks

This commit is contained in:
logykk 2022-04-24 17:56:17 +12:00
parent 5c4a317d89
commit 99c59a5812
2 changed files with 3 additions and 6 deletions

7
.gitignore vendored
View File

@ -145,11 +145,8 @@ cython_debug/
.vscode/ .vscode/
.idea/ .idea/
# Credentials # Configuration
credentials.json .zotify/
# Config file
zconfig.json
#Download Folder #Download Folder
Zotify\ Music/ Zotify\ Music/

View File

@ -251,7 +251,7 @@ def download_track(mode: str, track_id: str, extra_keys=None, disable_progressba
if(Zotify.CONFIG.get_download_lyrics()): if(Zotify.CONFIG.get_download_lyrics()):
try: try:
get_song_lyrics(track_id, PurePath(filedir / str(song_name + '.lrc'))) get_song_lyrics(track_id, PurePath(str(filename).replace(ext, 'lrc')))
except ValueError: except ValueError:
Printer.print(PrintChannel.SKIPS, f"### Skipping lyrics for {song_name}: lyrics not available ###") Printer.print(PrintChannel.SKIPS, f"### Skipping lyrics for {song_name}: lyrics not available ###")
convert_audio_format(filename_temp) convert_audio_format(filename_temp)