fix cache grabbing string vs ints

pull/692/head
meisnate12 3 years ago
parent a4c07e796b
commit 8ee749b003

@ -1 +1 @@
1.15.1-develop40 1.15.1-develop41

@ -1330,8 +1330,9 @@ class CollectionBuilder:
else: else:
rating_keys = [] rating_keys = []
if id_type == "ratingKey": if id_type == "ratingKey":
rating_keys = input_id rating_keys = int(input_id)
elif id_type == "tmdb" and not self.parts_collection: 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 not in self.ignore_ids:
if input_id in self.library.movie_map: if input_id in self.library.movie_map:
rating_keys = self.library.movie_map[input_id] rating_keys = self.library.movie_map[input_id]

Loading…
Cancel
Save