mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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")
|
Role = person.get("Role")
|
||||||
if kodiVersion == 15:
|
if kodiVersion == 15:
|
||||||
# Kodi Isengard database #
|
# Kodi Isengard database #
|
||||||
peoplesql="INSERT OR REPLACE into actor_link(actor_id, media_id, media_type) values(?, ?, ?)"
|
peoplesql="INSERT OR REPLACE into actor_link(actor_id, media_id, media_type,role) values(?, ?, ?, ?)"
|
||||||
cursor.execute(peoplesql, (actorid, id, mediatype))
|
cursor.execute(peoplesql, (actorid, id, mediatype, Role))
|
||||||
else:
|
else:
|
||||||
# Kodi Gotham or Helix database #
|
# Kodi Gotham or Helix database #
|
||||||
if mediatype == "movie":
|
if mediatype == "movie":
|
||||||
|
|
Loading…
Reference in a new issue