Skip to content

Commit

Permalink
Merge pull request #284 from MoojMidge/patch-played-in-a-row
Browse files Browse the repository at this point in the history
Make the played in a row setting a little clearer
  • Loading branch information
MoojMidge authored Sep 12, 2022
2 parents 53ceedb + 40cf03a commit fce38b5
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 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 fce38b5

Please sign in to comment.