From 9d594988d9f2e0106c952e26338d4dd92eb6ebd8 Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Wed, 17 Sep 2014 03:24:04 +0200 Subject: [PATCH] Show artist ID, for debugging with multiple artist ids --- headphones/postprocessor.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 979defb1..169c4104 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -92,9 +92,10 @@ def verify(albumid, albumpath, Kind=None, forced=False): artist = myDB.select("SELECT ArtistName, ArtistID FROM artists WHERE ArtistId=? OR ArtistName=?", [release_dict['artist_id'], release_dict['artist_name']]) if not artist: - logger.warn("Continuing would add new artist '%s', but " \ - "database is frozen. Will skip album with rgid: %s", - release_dict['artist_name'], albumid) + logger.warn("Continuing would add new artist '%s' (ID %s), " \ + "but database is frozen. Will skip postprocessing for " \ + "album with rgid: %s", release_dict['artist_name'], + release_dict['artist_id'], albumid) return logger.info(u"Now adding/updating artist: " + release_dict['artist_name'])