diff --git a/resources/lib/itemtypes/tvshows.py b/resources/lib/itemtypes/tvshows.py index 308849dc..2cd49f4a 100644 --- a/resources/lib/itemtypes/tvshows.py +++ b/resources/lib/itemtypes/tvshows.py @@ -133,8 +133,8 @@ class Show(ItemBase, TvShowMixin): return show = self.plexdb.show(plex_id) try: - kodi_id = show[3] - kodi_pathid = show[4] + kodi_id = show['kodi_id'] + kodi_pathid = show['kodi_pathid'] except TypeError: update_item = False query = 'SELECT COALESCE(MAX(idShow), 0) FROM tvshow'