mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
added role for actors for kodi 15
This commit is contained in:
parent
b948ff64e1
commit
f7a65c6763
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue