[mythtv-commits] Ticket #12021: Add dependsexec to themecode

MythTV noreply at mythtv.org
Mon Nov 10 13:12:56 UTC 2014


#12021: Add dependsexec to themecode
---------------------------------------------+-----------------------------
 Reporter:  slackerlinux85@…                 |          Owner:  paulh
     Type:  Patch - Feature                  |         Status:  closed
 Priority:  minor                            |      Milestone:  unknown
Component:  MythTV - User Interface Library  |        Version:  Unspecified
 Severity:  medium                           |     Resolution:  fixed
 Keywords:                                   |  Ticket locked:  0
---------------------------------------------+-----------------------------
Changes (by slackerlinux85 <slackerlinux85@…>):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"2da59647f3ba247468a547a0fd9bfcc257e51618/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="2da59647f3ba247468a547a0fd9bfcc257e51618"
 MythThemedMenu: Add dependsexec option to the main menu

 This option allows for menu entries that will only be visible if a
 particular
 executable is found. For example the menu entry below will add an XBMC
 menu
 entry if the XBMC executable is found at /usr/bin/xbmc.

 <button>
   <type>TV</type>
   <text>XBMC</text>
   <description>Launch XBMC</description>
   <action>EXEC xbmc</action>
   <dependsexec>/usr/bin/xbmc</dependsexec>
 </button>

 Fixes #12021.

 Signed-off-by: Paul Harrison <pharrison at mythtv.org>
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12021#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list