mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-09 16:52:00 +01:00
Fix lyrics extension replacement
This commit is contained in:
parent
0604056667
commit
ff527fe834
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,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(str(filename).replace(ext, 'lrc')))
|
||||
get_song_lyrics(track_id, PurePath(str(filename)[:-3] + "lrc"))
|
||||
except ValueError:
|
||||
Printer.print(PrintChannel.SKIPS, f"### Skipping lyrics for {song_name}: lyrics not available ###")
|
||||
convert_audio_format(filename_temp)
|
||||
|
|
Loading…
Reference in a new issue