libsaria: Remove STOP event

I can double up on the pause callback in place of a stop callback.
This commit is contained in:
Bryan Schumaker 2011-04-30 12:45:27 -04:00
parent 7879c53fe7
commit 6c73a9c43a
3 changed files with 2 additions and 6 deletions

View File

@ -50,7 +50,7 @@ def stop():
lock_audio()
pipeline.stop()
unlock_audio()
#do_notify_paused()
do_notify_paused()
def seek(amount):
lock_audio()

View File

@ -81,7 +81,7 @@ def toggle_play():
pause()
def stop():
return call("STOP", audio.stop)
audio.stop()
def seek_forward():
libsaria.audio.seek_sec(5)

View File

@ -18,10 +18,6 @@ def on_pause(*args):
footer.on_pause()
callbacks.on_pause = on_pause
def on_stop(*args):
footer.on_pause()
invite("POSTSTOP", on_stop)
def on_load(*args):
footer.on_load()
queue.refresh()