From b7813de8562e518b3d66bb90ce8895a2a544c219 Mon Sep 17 00:00:00 2001 From: sbuser Date: Fri, 5 Aug 2011 17:51:56 -0500 Subject: [PATCH] Fix post-processing of external folders adding blank artists (wrong controlValue) --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 72c22f9d..cb0a8087 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -101,7 +101,7 @@ def verify(albumid, albumpath): myDB.upsert("tracks", newValueDict, controlValueDict) - controlValueDict = {"ArtistID": albumid} + controlValueDict = {"ArtistID": release_dict['artist_id']} newValueDict = {"Status": "Paused"} myDB.upsert("artists", newValueDict, controlValueDict)