OK I looked at it. The hard part is calling shutdown.py from menu.py
If I could figure that part out I could easily write the whole plugin.
I know how to add the MENU_GOTO_QUIT to menu.py, but I would really like
to call the Shutdown menu item and let it take over from there. Any
suggestions?
Index: src/event.py
===================================================================
--- src/event.py (revision 8748)
+++ src/event.py (working copy)
@@ -117,6 +117,7 @@
MENU_REBUILD = Event('MENU_REBUILD')
MENU_GOTO_MAINMENU = Event('MENU_GOTO_MAINMENU')
+MENU_GOTO_QUIT = Event('MENU_GOTO_QUIT')
MENU_GOTO_TV = Event('MENU_GOTO_TV')
MENU_GOTO_TVGUIDE = Event('MENU_GOTO_TVGUIDE')
MENU_GOTO_VIDEOS = Event('MENU_GOTO_VIDEOS')
@@ -262,6 +263,7 @@
'CH+' : MENU_PAGEUP,
'CH-' : MENU_PAGEDOWN,
'MENU' : MENU_GOTO_MAINMENU,
+ 'QUIT' : MENU_GOTO_QUIT
'EXIT' : MENU_BACK_ONE_MENU,
'SELECT' : MENU_SELECT,
'PLAY' : MENU_PLAY_ITEM,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users