[mythtv-commits] Ticket #5954: Proposed patch to allow dynamic menus

MythTV mythtv at cvs.mythtv.org
Mon Dec 1 22:19:28 UTC 2008

#5954: Proposed patch to allow dynamic menus
 Reporter:  andrei at tanas.ca  |       Owner:  ijr 
     Type:  enhancement      |      Status:  new 
 Priority:  minor            |   Milestone:  0.22
Component:  mythtv           |     Version:  head
 Severity:  medium           |     Mlocked:  0   
 I'd like to propose a simple piece of functionality that allows to
 generate dynamic menus. I'm using it successfully to dynamically build
 menus for an online streaming service.

 The idea is simple: if the <action> tag inside the menu <button> defines a
 MENU, but the parameter starts with the '`' character (same as bash shell
 command substitution), rather than treating this as a path to another menu
 file, we execute the external process, capture its standard output stream,
 and use the result to load the menu.

     <action>MENU `/home/mythtv/somemenuscript</action>

 The script in /home/mythtv/somemenuscript is expected to generate output
 in mythtv menu format.

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

More information about the mythtv-commits mailing list