mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 18:56:15 +00:00
Fix idParentPath addon mode
This commit is contained in:
parent
e8188cacb1
commit
a7e2060c5c
1 changed files with 3 additions and 2 deletions
|
@ -394,6 +394,7 @@ class TVShows(KodiDb):
|
||||||
self.jellyfin_db.add_reference(*values(obj, QUEM.add_reference_episode_obj))
|
self.jellyfin_db.add_reference(*values(obj, QUEM.add_reference_episode_obj))
|
||||||
|
|
||||||
parentPathId = self.jellyfin_db.get_episode_kodi_parent_path_id(*values(obj, QUEM.get_episode_kodi_parent_path_id_obj))
|
parentPathId = self.jellyfin_db.get_episode_kodi_parent_path_id(*values(obj, QUEM.get_episode_kodi_parent_path_id_obj))
|
||||||
|
if obj['PathId'] != parentPathId:
|
||||||
LOG.debug("Setting episode pathParentId, episode %s, title %s, pathId %s, pathParentId %s", obj['Id'], obj['Title'], obj['PathId'], parentPathId)
|
LOG.debug("Setting episode pathParentId, episode %s, title %s, pathId %s, pathParentId %s", obj['Id'], obj['Title'], obj['PathId'], parentPathId)
|
||||||
self.update_path_parent_id(obj['PathId'], parentPathId)
|
self.update_path_parent_id(obj['PathId'], parentPathId)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue