Added a try/except catch to the tagging process to catch all beets errors

This commit is contained in:
rembo10
2012-03-23 16:43:38 +00:00
parent 2b924cdf00
commit d645b02d4f

View File

@@ -408,7 +408,10 @@ def correctMetadata(albumid, release, downloaded_track_list):
autotag.apply_metadata(items, info)
for item in items:
item.write()
try:
item.write()
except Exception, e:
logger.warn('Error writing metadata to track: %s' % e)
def embedLyrics(downloaded_track_list):
logger.info('Adding lyrics')