From 32e417e4b554c216ced9d590ae0158fbc6780d46 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Fri, 17 Dec 2010 23:02:35 -0500 Subject: [PATCH] Remove the pause_after.py plugin Pause after current song is now a built-in feature, so I don't need a plugin too. --- plugins/pause_after.py | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 plugins/pause_after.py diff --git a/plugins/pause_after.py b/plugins/pause_after.py deleted file mode 100644 index 0e9c72b9..00000000 --- a/plugins/pause_after.py +++ /dev/null @@ -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