fix cache grabbing string vs ints

This commit is contained in:
meisnate12 2022-02-03 16:06:56 -05:00
parent a4c07e796b
commit 8ee749b003
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -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]