From e357c45b965afb90efecdde34ffe79226e9a7806 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 8 Mar 2022 18:02:33 -0500 Subject: [PATCH] [13] fix plex_all cache --- VERSION | 2 +- modules/plex.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 13cb8c95..08a1c1bf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.0-develop12 +1.16.0-develop13 diff --git a/modules/plex.py b/modules/plex.py index 266287c6..f1e2f9e6 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -456,9 +456,9 @@ class Plex(Library): return self.PlexServer.fetchItem(data) def get_all(self, collection_level=None, load=False): - if load and not collection_level: + if load and collection_level in [None, "show", "artist", "movie"]: self._all_items = [] - if self._all_items and not collection_level: + if self._all_items and collection_level in [None, "show", "artist", "movie"]: return self._all_items collection_type = collection_level if collection_level else self.Plex.TYPE if not collection_level: