add message about pulling from cache

This commit is contained in:
meisnate12 2022-02-03 15:21:52 -05:00
parent 4a41816211
commit a4c07e796b
3 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
1.15.1-develop39
1.15.1-develop40

View file

@ -1211,6 +1211,7 @@ class CollectionBuilder:
if self.config.Cache and self.details["cache_builders"]:
list_key, expired = self.config.Cache.query_list_cache(method, str(value), self.details["cache_builders"])
if list_key and expired is False:
logger.info(f"Builder: {method} loaded from Cache")
return self.config.Cache.query_list_ids(list_key)
if "plex" in method:
ids = self.library.get_rating_keys(method, value)

View file

@ -10,7 +10,7 @@ logger = logging.getLogger("Plex Meta Manager")
github_base = "https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Configs/master/"
all_auto = ["genre"]
ms_auto = ["actor", "year", "tmdb_popular_people", "trakt_user_lists", "trakt_people_list"]
ms_auto = ["actor", "year", "tmdb_popular_people", "trakt_user_lists", "trakt_liked_lists", "trakt_people_list"]
auto = {
"Movie": ["tmdb_collection", "decade", "country"] + all_auto + ms_auto,
"Show": ["network"] + all_auto + ms_auto,