[mythtv-commits] Ticket #7887: Additional MusicExitAction option for MythMusic

MythTV mythtv at cvs.mythtv.org
Sat Jan 9 22:13:00 UTC 2010


#7887: Additional MusicExitAction option for MythMusic
-----------------------------------+----------------------------------------
 Reporter:  mythtv@…               |       Owner:  ijr    
     Type:  patch                  |      Status:  new    
 Priority:  minor                  |   Milestone:  unknown
Component:  Plugin - MythMusic     |     Version:  0.22   
 Severity:  medium                 |     Mlocked:  0      
-----------------------------------+----------------------------------------
 The MythMusic plugin provides an option that allows one to control what
 happens when exiting from MythMusic (MusicExitAction).  Currently, three
 choices are allowed:

 1)  Stop playing music and exit.

 2)  Exit, but keep playing music.

 3)  Prompt the user with options (1) and (2) every time MythMusic is
 exited.

 If MythMusic is configured to prompt the user, the user must choose one of
 the two choices in order to exit MythMusic.  Canceling the prompt returns
 the user to MythMusic.  The option for prompting the user is extremely
 useful, but the "cancel" behavior does not lend itself well to home
 automation remote control macros (such as a macro to turn all home theater
 equipment off).

 Attached is a patch that adds a fourth choice for MusicExitAction that
 still allows the prompting functionality, but makes it home-automation-
 macro friendly.  At exit, the user is still prompted whether to stop or
 continue playing music.  However, the "cancel" behavior is different.  If
 the prompt is canceled (e.g. ESCAPE is pressed rather than selecting one
 of the options), MythMusic stops playing music and exits.

 Please fold this into the mainline.

 Thank you,[[BR]]
 Garrick James

 P.S.  I am not subscribed to mythtv-dev.  If you need to contact me,
 please email me directly or update the ticket log.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7887>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list