mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 16:03:59 +01:00
Updated musicbrainz lib
This commit is contained in:
@@ -757,15 +757,15 @@ def correctMetadata(albumid, release, downloaded_track_list):
|
|||||||
except Exception, e:
|
except Exception, e:
|
||||||
logger.error('Error getting recommendation: %s. Not writing metadata' % e)
|
logger.error('Error getting recommendation: %s. Not writing metadata' % e)
|
||||||
return
|
return
|
||||||
if rec == 'RECOMMEND_NONE':
|
if rec == 'recommendation.none':
|
||||||
logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle']))
|
logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle']))
|
||||||
return
|
return
|
||||||
|
|
||||||
if candidates:
|
#if candidates:
|
||||||
dist, info, mapping, extra_items, extra_tracks = candidates[0]
|
dist, info, mapping, extra_items, extra_tracks = candidates[0]
|
||||||
else:
|
#else:
|
||||||
logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle']))
|
# logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle']))
|
||||||
return
|
# return
|
||||||
|
|
||||||
logger.info('Beets recommendation for tagging items: %s' % rec)
|
logger.info('Beets recommendation for tagging items: %s' % rec)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user