Mailing List Archive

mythtv/master commit: d4a4aa392 by Paul Harrison (paul-h)
Author: Paul Harrison <pharrison@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

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose