From afcc2355de5f28f15f95cd7634073d3deed480c8 Mon Sep 17 00:00:00 2001 From: Fouad Chamoun Date: Sun, 6 Mar 2022 09:39:42 +0100 Subject: [PATCH] fix(trakt): personal recommendations api response is typeless --- modules/trakt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/trakt.py b/modules/trakt.py index 9710f8ae..d290013f 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -234,7 +234,7 @@ class Trakt: raise Failed(f"Trakt Error: failed to fetch {media_type} Recommendations") if len(items) == 0: raise Failed(f"Trakt Error: no {media_type} Recommendations were found") - return self._parse(items, item_type="movie" if is_movie else "show") + return self._parse(items, typeless=True, item_type="movie" if is_movie else "show") def _pagenation(self, pagenation, amount, is_movie): items = self._request(f"/{'movies' if is_movie else 'shows'}/{pagenation}?limit={amount}")