mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-09 16:52:00 +01:00
use same naming for lyrics as tracks
This commit is contained in:
parent
5c4a317d89
commit
99c59a5812
2 changed files with 3 additions and 6 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -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/
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue