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,11 +53,11 @@ def pick_next():
|
||||||
if file == None:
|
if file == None:
|
||||||
file = playlist.next()
|
file = playlist.next()
|
||||||
load(file)
|
load(file)
|
||||||
if pause_after == False:
|
if pause_after == True:
|
||||||
play()
|
|
||||||
else:
|
|
||||||
pause()
|
pause()
|
||||||
pause_after = False
|
else:
|
||||||
|
play()
|
||||||
|
pause_after = False
|
||||||
|
|
||||||
def catch_eos(*args):
|
def catch_eos(*args):
|
||||||
library.inc_count()
|
library.inc_count()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user