[mythtv-users] Ideas for family proofing the mythbox

Dan Wilga mythtv-users2 at dwilga-linux1.amherst.edu
Wed Mar 16 18:38:23 UTC 2011


On 3/16/11 11:30 AM, Andrew LaCroix wrote:
> I'd like to add a dedicated menu item to the myth menus to set this
> filter; specifically, make a way to enter the "Watch Recordings" view
> with this filter set by default.  Does anyone know if this is
> possible?
>    
Yes, here's what you need to do. Let's assume you are logged-in as the 
user that runs MFE:

cd ~/.mythtv
mkdir themes
cp -r /usr/share/mythtv/themes/[DVR-or-classic] themes/

I use the DVR menu theme, so then I modified themes/DVR/mainmenu.xml to 
look like what appears below.The important bit is the first three 
<button> blocks. For the "classic" menu theme, it will be in a different 
file, I believe, and the part you modify will be different.

IMPORTANT NOTE: Whenever you update to a new version of Myth, you need 
to make sure to grab a fresh copy of the entire menu theme and merge 
your changes back in. Otherwise, you might end up with an outdated menu 
structure.

<?xml version="1.0" encoding="UTF-8" ?>
<mythmenu name="MAIN">

<button>
<type>TV_WATCH_RECORDINGS</type>
<text>Watch Recordings (Default)</text>
<description>Play Recordings</description>
<action>TV_WATCH_RECORDING Default</action>
</button>
<button>
<type>TV_WATCH_RECORDINGS</type>
<text>Watch Recordings (Alex)</text>
<action>TV_WATCH_RECORDING Alex</action>
</button>
<button>
<type>TV_WATCH_RECORDINGS</type>
<text>Watch Recordings (Dan)</text>
<action>TV_WATCH_RECORDING Dan</action>
</button>

<button>
<type>TV_CONFLICTS</type>
<text>Upcoming Recordings</text>
<description>See what will be recorded next</description>
<action>TV_FIX_CONFLICTS</action>
</button>

<button>
<type>TV_SCHEDULE_RECORDINGS</type>
<text>Schedule Recordings</text>
<description>Pick shows to record</description>
<action>MENU tv_schedule.xml</action>
</button>

<button>
<type>TV_RECPRIORITIES</type>
<text>Recording Priorities</text>
<description>Prioritize some shows over others</description>
<action>TV_SET_RECPRIORITIES</action>
</button>

<button>
<type>TV_STATUS</type>
<text>System Status</text>
<description>What your system is doing right now</description>
<action>TV_STATUS</action>
</button>

<button>
<type>MENU_UTILITIES_SETUP</type>
<text>Utilities / Setup</text>
<description>Settings for TV, Images, Music, Video, Weather, 
etc.</description>
<action>MENU util_menu.xml</action>
</button>

<button>
<type>MENU_UTILITIES_SETUP</type>
<text>MythDora Tools</text>
<action>MENU mythdora.xml</action>
</button>
</mythmenu>

-- 
Dan Wilga                                                        "Ook."



More information about the mythtv-users mailing list