Skip to content

Commit

Permalink
Add optional 'extended' parameter to getMovieSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
ZelKami committed Sep 4, 2023
1 parent 5fe519d commit f1bd295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/lib/traktapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f1bd295

Please sign in to comment.