Always clear pause_after

Always clearing this ensures that we don't keep pausing after playback
is resumed.
This commit is contained in:
Bryan Schumaker 2010-12-23 10:17:14 -05:00
parent fc6397dc43
commit 5f10a01bcb

View File

@ -53,11 +53,11 @@ def pick_next():
if file == None:
file = playlist.next()
load(file)
if pause_after == False:
play()
else:
if pause_after == True:
pause()
pause_after = False
else:
play()
pause_after = False
def catch_eos(*args):
library.inc_count()