<!DOCTYPE html><html><head>
<style type="text/css">body { font-family:'DejaVu Sans'; font-size:13px}</style>
</head>
<body>On Sat, 04 Oct 2014 22:41:26 +0100, Ozzy Lash &lt;ozzy.lash@gmail.com&gt; wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex"><div dir="ltr">I<br><div class="gmail_extra"><div class="gmail_quote">On Sat, Oct 4, 2014 at 3:47 PM, Ian Evans <span dir="ltr">&lt;<a href="mailto:dheianevans@gmail.com" target="_blank">dheianevans@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Sat, Oct 4, 2014 at 4:56 AM, Gerhard Gappmeier <span dir="ltr">&lt;<a href="mailto:gappy1502@gmx.net" target="_blank">gappy1502@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div>
    <div>On 10/04/14 01:40, Ian Evans wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, Sep 30, 2014 at 12:16 PM,
            Gerhard Gappmeier <span dir="ltr">&lt;<a href="mailto:gappy1502@gmx.net" target="_blank">gappy1502@gmx.net</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div style="font-family:&quot;Monospace&quot;;font-size:9pt;font-weight:400;font-style:normal">3.)

                edit /usr/share/mythtv/themes/classic/mainmenu.xml (the
                path may vary on your system)
                <p style="margin:0px;text-indent:0px">Add the following
                  new "Netflix" command.</p>
                <p style="margin:0px;text-indent:0px">&nbsp;</p>
                <p style="margin:0px;text-indent:0px"> &lt;button&gt;</p>
                <p style="margin:0px;text-indent:0px">
                  &lt;type&gt;VIDEO&lt;/type&gt;</p>
                <p style="margin:0px;text-indent:0px">
                  &lt;text&gt;Netflix&lt;/text&gt;</p>
                <p style="margin:0px;text-indent:0px">
                  &lt;action&gt;EXEC DISPLAY=":0.0"
                  /usr/bin/google-chrome-stable
                  --alsa-output-device=iec958 --start-fullscreen <a href="https://www2.netflix.com" target="_blank">https://www2.netflix.com</a>&lt;/action&gt;</p>
                <p style="margin:0px;text-indent:0px"> &lt;/button&gt;</p>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">I use TintedGlass as my theme and there
          doesn't appear to be a mainmenu.xml. Any idea where I'd change
          it? </div>
      </div>
      </div></div><span>
    </span></blockquote>
    The theme only configures the style. I'm using MythCenter-wide,
    nevertheless the menu structure is configured by
    themes/classic/mainmenu.xml<br>
    <br>
    Actually I also do not understand how the two parts are working
    together.<br>
    I would expect the the theme somehow references the classic
    structure, but I could not find that.<br>
    <br>
    Maybe it works the same way for TintedGlass.<br></div></blockquote></div><br><br></div></div></div><div class="gmail_extra">I dunno. I made the change to the mainmenu.xml and nothing showed up in TintedGlass.<br></div></div>
<br></blockquote></div><br>I think that depending on how you have the frontend configured, it may 
be using a different layout that classic. You might try making the 
change in the other mainmenu.xml files in:<br><br>/usr/share/mythtv/themes/DVR/mainmenu.xml<br>/usr/share/mythtv/themes/Slave/mainmenu.xml<br>/usr/share/mythtv/themes/classic/mainmenu.xml<br>/usr/share/mythtv/themes/defaultmenu/mainmenu.xml<br>/usr/share/mythtv/themes/mediacentermenu/mainmenu.xml<br><br></div><div class="gmail_extra">Bill<br></div></div>
</blockquote><br><div>The 'menu theme' (DVR, Classic, Default etc.) is separate to, and unrelated to the 'UI theme' (MythCenter, TintedGlass etc.). It is selected by MythFrontend/ Setup / Appearance / Menu Theme.</div><div><br></div><div>You should never edit the files in /usr/share/mythtv. They are the default/fallback definitions and will be overwritten by updates.<br></div><div><br></div><div>To customise a menu, create a copy of the relevant file in your theme directory and make your changes there. Myth will use it automatically and your changes will survive updates.</div><div><br></div><div>ie. for the 'Classic' menu theme:</div><div><br></div><div>mkdir ~/.mythtv/themes/classic<br>cp /usr/share/mythtv/themes/classic/mainmenu.xml ~/.mythtv/themes/classic/</div><div><br></div><div>then add your button in the new file.</div><div><br></div><div><a href="http://www.mythtv.org/wiki/Menu_theme_development_guide#Setting_Up">http://www.mythtv.org/wiki/Menu_theme_development_guide#Setting_Up</a></div></body></html>