From 7dbc1339bb464023958527e6b9f627f201a8ac22 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 9 Nov 2015 19:59:45 -0600 Subject: [PATCH] Fix directors --- resources/lib/WriteKodiVideoDB.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py index 967aef30..b91d26d9 100644 --- a/resources/lib/WriteKodiVideoDB.py +++ b/resources/lib/WriteKodiVideoDB.py @@ -413,10 +413,12 @@ class WriteKodiVideoDB(): self.AddTagsToMedia(idMVideo, tags, "musicvideo", cursor) #update or insert actors + people = MBitem['People'] artists = MBitem['ArtistItems'] for artist in artists: artist['Type'] = "Artist" - self.AddPeopleToMedia(idMVideo,artists,"musicvideo", connection, cursor) + people.extend(artists) + self.AddPeopleToMedia(idMVideo,people,"musicvideo", connection, cursor) # Update artwork self.textureCache.addArtwork(API().getAllArtwork(MBitem), idMVideo, "musicvideo", cursor)