From 8ee749b0035e1f03bd461709b06c4fc69f22e353 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 3 Feb 2022 16:06:56 -0500 Subject: [PATCH] fix cache grabbing string vs ints --- VERSION | 2 +- modules/builder.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a1738f53..ec43c3b3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.1-develop40 +1.15.1-develop41 diff --git a/modules/builder.py b/modules/builder.py index 22d90a7a..85806246 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1330,8 +1330,9 @@ class CollectionBuilder: else: rating_keys = [] if id_type == "ratingKey": - rating_keys = input_id + rating_keys = int(input_id) elif id_type == "tmdb" and not self.parts_collection: + input_id = int(input_id) if input_id not in self.ignore_ids: if input_id in self.library.movie_map: rating_keys = self.library.movie_map[input_id]