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/
.idea/
# Credentials
credentials.json
# Config file
zconfig.json
# Configuration
.zotify/
#Download Folder
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()):
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:
Printer.print(PrintChannel.SKIPS, f"### Skipping lyrics for {song_name}: lyrics not available ###")
convert_audio_format(filename_temp)