From f7a65c6763c102c38082ec920b996d1270c92248 Mon Sep 17 00:00:00 2001 From: im85288 Date: Sun, 10 May 2015 13:28:42 +0100 Subject: [PATCH] added role for actors for kodi 15 --- resources/lib/WriteKodiVideoDB.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py index b262d6e2..146c972a 100644 --- a/resources/lib/WriteKodiVideoDB.py +++ b/resources/lib/WriteKodiVideoDB.py @@ -755,8 +755,8 @@ class WriteKodiVideoDB(): Role = person.get("Role") if kodiVersion == 15: # Kodi Isengard database # - peoplesql="INSERT OR REPLACE into actor_link(actor_id, media_id, media_type) values(?, ?, ?)" - cursor.execute(peoplesql, (actorid, id, mediatype)) + peoplesql="INSERT OR REPLACE into actor_link(actor_id, media_id, media_type,role) values(?, ?, ?, ?)" + cursor.execute(peoplesql, (actorid, id, mediatype, Role)) else: # Kodi Gotham or Helix database # if mediatype == "movie":