[mythtv-users] Guide settings gone in 0.22?

Thomas Pontoppidan Spam1 at pontoppidan.name
Fri Jan 8 16:50:41 UTC 2010


Thank to both of you for the tips! I managed to get a 10-channel layout:-)
As a side-effect I also adjusted the size of the icons to better match the
146x45 of my icon files:-)


2010/1/8 Michael Zanetti <michael_zanetti at gmx.net>

> On Friday 08 January 2010 14:44:47 Ronald Frazier wrote:
> > > The entry in the database is still there but it seems to be ignored. So
> I
> > > guess there is not much hope to change this in 0.22.
> > >
> > > I haven't tried to manipulate it by changing the theme file though...
> > >
> > > Any theme-experts around to check/confirm this?
> >
> > I haven't tried it, but it appears to be in the theme now. The guide
> > is defined in schedule-ui.xml
> > http://www.mythtv.org/wiki/Schedule-ui.xml
> >
> > In there, there are a couple of guidegrid objects (one for the regular
> > guide, one for the livetv guide). Looking at the documentation of
> > guidegrid objects:
> > http://www.mythtv.org/wiki/MythUI_Theme_Development#The_guidegrid_widget
> >
> > In particular, you are interested in the "channels" and "timeslots"
> >  attributes
> >
>
> Yay! It works! Thank you very much!
>
> Note: In addition to increment the <channels> tag, shrinking the areas in
> <buttonlist name="channellist"> and adjusting the position of the
> channelicon-
> area is needed. Here is an example for the default theme (only for the
> normal
> EPG. The live-tv one needs similar changes):
>
> Original:
>
>        <buttonlist name="channellist">
>            <area>20,205,135,380</area>
>            <buttonarea>0,0,135,380</buttonarea>
>            <statetype name="buttonitem">
>                <area>0,0,135,74</area>
>                <state name="active">
>                    <imagetype name="buttonbackground">
>                        <area>0,0,135,75</area>
>                        <filename>gg-chans.png</filename>
>                    </imagetype>
>                    <imagetype name="channelicon">
>                        <area>5,15,40,40</area>
>                    </imagetype>
>                    <textarea name="buttontext" from="basetextarea">
>                        <area>45,0,90,75</area>
>                        <font>basesmall</font>
>                        <font state="favourite">basesmallyellow</font>
>                        <font state="unavailable">basesmallblue</font>
>                        <font state="favunavailable">basesmallpurple</font>
>                        <cutdown>no</cutdown>
>                        <align>allcenter</align>
>                    </textarea>
>                </state>
>                <state name="selected" from="active"/>
>                <state name="inactive" from="active"/>
>            </statetype>
>        </buttonlist>
>
>
> Changed to a 8-row programguide:
>
>        <buttonlist name="channellist">
>            <area>20,205,135,380</area>
>            <buttonarea>0,0,135,380</buttonarea>
>            <statetype name="buttonitem">
> >                <area>0,0,135,47</area>
>                <state name="active">
>                    <imagetype name="buttonbackground">
> >                        <area>0,0,135,47</area>
>                        <filename>gg-chans.png</filename>
>                    </imagetype>
>                    <imagetype name="channelicon">
> >                        <area>5,3,40,40</area>
>                    </imagetype>
>                    <textarea name="buttontext" from="basetextarea">
> >                        <area>45,0,90,47</area>
>                        <font>basesmall</font>
>                        <font state="favourite">basesmallyellow</font>
>                        <font state="unavailable">basesmallblue</font>
>                        <font state="favunavailable">basesmallpurple</font>
>                        <cutdown>no</cutdown>
>                        <align>allcenter</align>
>                    </textarea>
>                </state>
>                <state name="selected" from="active"/>
>                <state name="inactive" from="active"/>
>            </statetype>
>        </buttonlist>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100108/d19d1421/attachment.htm>


More information about the mythtv-users mailing list