Skip to content

Commit

Permalink
Send "stop" actions if progress is below 80% when a session is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Feb 28, 2015
1 parent 3ea5127 commit 6cadc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trakttv.bundle/Contents/Code/pts/scrobbler.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def update_progress(ws, view_offset):
return True

def finish(self, ws):
if ws.progress is None or ws.progress < 80:
if ws.progress is None:
return False

log.debug('Session finished, sending a "stop" action')
Expand Down

0 comments on commit 6cadc83

Please sign in to comment.