[mythtv-firehose] mythtv/master commit: d4a4aa392 by Paul Harrison (paul-h)

MythTV noreply at mythtv.org
Sun May 1 21:04:25 UTC 2011


      Author:  Paul Harrison <pharrison at mythtv.org>
 Change Date:  2011-05-01T14:04:10-07:00
   Push Date:  2011/05/01 14:04:23 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  d4a4aa39202179e5ba19fda03e62984d871f6361
   Changeset:  https://github.com/MythTV/mythtv/commit/d4a4aa392

Log:

Add a MEDIA menu item type to the main menus.

This type allows you to add menu items that can call one of the media handlers.
For example you could add a menu item to show a particular web page or to play
a video using the internal player.

An example item to run MythBrowser

    <button>
        <type>WEBPAGE</type>
        <text>WebMail</text>
        <description>Show email</description>
        <action>MEDIA WebBrowser https://example.domain.com/signin/webmail/</action>
        <depends>mythbrowser</depends>
    </button>

An example to play a video file

    <button>
        <type>VIDEO</type>
        <text>Show Example Video</text>
        <description>Show an example video</description>
        <action>MEDIA Internal /media/videos/example.mpg/</action>
    </button>

Modified:

   mythtv/libs/libmythui/myththemedmenu.cpp



More information about the mythtv-firehose mailing list