Skip to content

Commit

Permalink
Still Watching? checks number of plays not number+1
Browse files Browse the repository at this point in the history
Setting playedInARow to 1, would previously mean that 2 episodes needed to play in a row before being asked if Still Watching?
  • Loading branch information
MoojMidge authored Sep 12, 2022
1 parent 8e4c296 commit 40cf03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/playbackmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def show_popup_and_wait(self, episode, next_up_page, still_watching_page):
self.log('played in a row %s' % self.state.played_in_a_row, 2)
showing_next_up_page = False
showing_still_watching_page = False
if not played_in_a_row_number or int(self.state.played_in_a_row) <= int(played_in_a_row_number):
if not played_in_a_row_number or int(self.state.played_in_a_row) < int(played_in_a_row_number):
self.log('showing next up page as played in a row is %s' % self.state.played_in_a_row, 2)
next_up_page.show()
set_property('service.upnext.dialog', 'true')
Expand Down

0 comments on commit 40cf03a

Please sign in to comment.