From b049ef0e60dc2e311a55b6f5e6cfc8e0652781ac Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 30 Sep 2021 09:48:28 -0400 Subject: [PATCH] fixes issue with tautulli --- modules/tautulli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tautulli.py b/modules/tautulli.py index 8a665c39..82669065 100644 --- a/modules/tautulli.py +++ b/modules/tautulli.py @@ -43,8 +43,8 @@ class Tautulli: for item in items: if item["section_id"] == section_id and count < int(params['list_size']): try: - item = library.fetchItem(int(item["rating_key"])) - if not isinstance(item, (Movie, Show)): + plex_item = library.fetchItem(int(item["rating_key"])) + if not isinstance(plex_item, (Movie, Show)): raise BadRequest rating_keys.append(item["rating_key"]) except (BadRequest, NotFound):