Skip to content

Commit

Permalink
Allow to unrate an item on Trakt
Browse files Browse the repository at this point in the history
  • Loading branch information
bubblesaddon committed May 7, 2017
1 parent 8658af6 commit c406613
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/lib/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ def doManualRating(self, data):
rateMedia(media_type, [summaryInfo])
else:
rateMedia(media_type, [summaryInfo], rating=data['rating'])
elif action == 'unrate':
rateMedia(media_type, [summaryInfo], unrate=True)
else:
logger.debug("doManualRating(): Summary info was empty, possible problem retrieving data from Trakt.tv")

Expand Down

0 comments on commit c406613

Please sign in to comment.