Remove the pause_after.py plugin
Pause after current song is now a built-in feature, so I don't need a plugin too.
This commit is contained in:
parent
14a960372b
commit
32e417e4b5
|
@ -1,31 +0,0 @@
|
|||
# Bryan Schumaker (10/30/2010)
|
||||
|
||||
import ocarina
|
||||
libsaria = ocarina.libsaria
|
||||
menu = ocarina.menu
|
||||
do_pause = False
|
||||
|
||||
def check_pause(*args):
|
||||
global do_pause
|
||||
if do_pause == True:
|
||||
libsaria.controls.pause()
|
||||
do_pause = False
|
||||
|
||||
def set_pause(*args):
|
||||
global do_pause
|
||||
do_pause = True
|
||||
|
||||
def start():
|
||||
text = "Pause after current song"
|
||||
menu.add_common_menu_item(text, set_pause)
|
||||
libsaria.event.invite("POSTNEXT", check_pause)
|
||||
|
||||
def stop():
|
||||
pass
|
||||
|
||||
def check_version():
|
||||
if ocarina.__major__ != 4:
|
||||
return False
|
||||
if ocarina.__minor__ == 3:
|
||||
return True
|
||||
return True
|
Loading…
Reference in New Issue
Block a user