<!DOCTYPE html><html><head><style type="text/css">body { font-family:'DejaVu Sans'; font-size:13px}</style></head><body>On Sun, 09 Sep 2012 10:36:11 +0100, &lt;ajp@cantabrian.co.nz&gt; wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex"><div class="WordSection1"><p class="MsoNormal">Hi,</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">I need to change the text on the “List View” buttons in the buttontree widget.</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">I am running Videos in “List View” and I want the last button, to the right, to simply be the Title. However if it is a TV series I am forced to have a button of the format “ %TITLE% %SEASON%/%EPISODE% - %SUBTITLE%”</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">When I asked this not too long ago I was told to look for “##x##” and I found this but it didn’t give any clues.</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">I suspect the text is defined in code and not in the UI/Theme files. I would like to know if the text is configurable and ideally how it is configurable, without having to build MythTV. If it’s not configurable then I plan to manipulate, using SQL, the contents of videometadata to get the effect I want – not desirable but something I am more comfortable with than having the text the way it is currently.</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">I have been banging my head against a brick wall trying to work out how it is defined in the theme UI but I can’t see it. If it’s not defined in the theme UI then that would be enormously helpful to know.</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">If anyone can share any light on this I would appreciate it.</p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">Thanks</p></div></blockquote><div><br></div><div><big><font face="'DejaVu Sans',sans-serif">IMHO it's not configurable by the theme - I also failed to alter it.&nbsp;</font></big></div><div><big><font face="'DejaVu Sans',sans-serif"><br></font></big></div><div><big><font face="'DejaVu Sans',sans-serif">You don't mention your version/theme but the actual text widget for 0.25/MythCenter is the common one at </font></big><a href="https://github.com/MythTV/mythtv/blob/master/mythtv/themes/MythCenter/base.xml"><big>https://github.com/MythTV/mythtv/blob/master/mythtv/themes/MythCenter/base.xml</big></a><big> #160. &lt;template&gt; tags don't seem to work in this case.<br></big></div><div><big><br></big></div><div><big><font face="'DejaVu Sans',sans-serif">The relevant code is&nbsp;</font></big><a href="https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfrontend/videolist.cpp"><big>https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfrontend/videolist.cpp</big></a><font size="3"><font face="DejaVu Sans"><big> </big></font></font><big><font face="'DejaVu Sans',sans-serif">#602&nbsp;</font></big><br></div><div><div><big><font face="'DejaVu Sans',sans-serif"><br></font></big></div><big><font face="'DejaVu Sans',sans-serif">You'll have to reset episode, season &amp; subtitle to achieve your aim.<br></font></big></div><div><big><font face="'DejaVu Sans',sans-serif"><br></font></big></div></body></html>