Always clear pause_after
Always clearing this ensures that we don't keep pausing after playback is resumed.
This commit is contained in:
parent
fc6397dc43
commit
5f10a01bcb
|
@ -53,10 +53,10 @@ def pick_next():
|
|||
if file == None:
|
||||
file = playlist.next()
|
||||
load(file)
|
||||
if pause_after == False:
|
||||
play()
|
||||
else:
|
||||
if pause_after == True:
|
||||
pause()
|
||||
else:
|
||||
play()
|
||||
pause_after = False
|
||||
|
||||
def catch_eos(*args):
|
||||
|
|
Loading…
Reference in New Issue
Block a user