mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-22 04:39:26 +00:00
Make embedLyrics() actually check if lyrics found
Checking metalyrics, the variable, not lyrics the module
This commit is contained in:
@@ -863,7 +863,7 @@ def embedLyrics(downloaded_track_list):
|
||||
logger.info('No artist/track metadata found for track: %s. Not fetching lyrics', track_title)
|
||||
metalyrics = None
|
||||
|
||||
if lyrics:
|
||||
if metalyrics:
|
||||
logger.debug('Adding lyrics to: %s', track_title)
|
||||
f.lyrics = metalyrics
|
||||
try:
|
||||
@@ -871,6 +871,9 @@ def embedLyrics(downloaded_track_list):
|
||||
except:
|
||||
logger.error('Cannot save lyrics to: %s. Skipping', track_title)
|
||||
continue
|
||||
else:
|
||||
logger.debug('No lyrics found for track: %s', track_title)
|
||||
|
||||
|
||||
def renameFiles(albumpath, downloaded_track_list, release):
|
||||
logger.info('Renaming files')
|
||||
|
||||
Reference in New Issue
Block a user