From f1bd2957aaa4a6f974908bb4149bfb46f21b1d84 Mon Sep 17 00:00:00 2001 From: danielerl <64637430+danielerl@users.noreply.github.com> Date: Mon, 4 Sep 2023 10:02:12 +0200 Subject: [PATCH] Add optional 'extended' parameter to getMovieSummary --- resources/lib/traktapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/traktapi.py b/resources/lib/traktapi.py index 5657f15e..8c823aaf 100644 --- a/resources/lib/traktapi.py +++ b/resources/lib/traktapi.py @@ -320,9 +320,9 @@ def getEpisodePlaybackProgress(self): return progressEpisodes - def getMovieSummary(self, movieId): + def getMovieSummary(self, movieId, extended=None): with Trakt.configuration.http(retry=True): - return Trakt['movies'].get(movieId) + return Trakt['movies'].get(movieId, extended=extended) def getShowSummary(self, showId): with Trakt.configuration.http(retry=True):