Global notification specification
From MythTV Official Wiki
Revision as of 12:42, 23 August 2007 by Mattwire
Currently MythNotify and MythTVOSD allow for notifications to be sent around the network and display as an OSD when using the internal player.
There is no facility built into MythTV for displaying notifications anywhere else.
- Mythshutdown -x tries to shutdown but cannot. It pops up a dialog telling the user why it can't shutdown and asking if they want to override and shutdown anyway.
- Mytharchive needs a blank dvd inserting to continue. It pops up a dialog asking for the user to insert a blank dvd. The dialog automatically disappears when the dvd is inserted.
- Must be well integrated into mythtv - it must be themed correctly, and be controllable via LIRC etc.
- Must be configurable for number of buttons and message displayed (also specify which button has focus).
- Configurable timeout to automatically dismiss the dialog.
- Easy to execute/display.
- Use Mythfrontend network control interface to create/manage dialogs.
POPUP message defaultButton timeout button1 button2 buttonN - Creates popup returns identifier OK POPUP status Gets status of popup returns identifier ACTIVE|CLOSED POPUP close - Closes active popup returns identifier CLOSED
- If there is no popup identifier (eg. popup close called when there is no popup) then identifier will return 0.
- NEED a way to query which button was pressed. Ideas?