From ae7131a7c120cc31d11784f808338a96602350a9 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 16 Mar 2016 22:19:52 -0500 Subject: [PATCH] Fix log --- resources/lib/itemtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 0df89cde..4b641f8f 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -2126,9 +2126,9 @@ class Music(Items): albumid = emby_dbalbum[0] except KeyError: # Verify if there's an album associated. - self.logMsg("Song itemid: %s has no albumId associated." % itemid, 1) album_name = item.get('Album') if album_name: + self.logMsg("Creating virtual music album for song: %s." % itemid, 1) albumid = kodi_db.addAlbum(album_name, API.getProvider('MusicBrainzAlbum')) emby_db.addReference("%salbum%s" % (itemid, albumid), albumid, "MusicAlbum_", "album") else: