[mythtv-users] Setting channels and timeslots in guide grid since mythui update
cliche
thigger at gmail.com
Sat Apr 25 22:11:18 UTC 2009
On Sat, Apr 25, 2009 at 11:01 PM, Robert McNamara <robert.mcnamara at gmail.com
> wrote:
> Post the entire <window> to </window> section so that I can take a
> look. Also note that there are *two* EPGs to edit/define, the
> programguide, and the -video (with video preview) version, so you'll
> want to make sure you're editing the relevant one.
I don't really know even thing 0 about theming (I just saw the references
to channels and timeslots in the code) but I've copied what I've done below.
Basically it's exactly the same as the standard ui.xml with the added lines:
<channels>7</channels>
<timeslots>5</timeslots>
within the guidegrid section. Apologies if that's the wrong way to do it but
it seemed the correct way to replicate the old behaviour from when I was
able to set the number of channels and timeslots myself.
Thanks for your help!
tom
(from /usr/share/mythtv/themes/G.A.N.T./ui.xml):
<window name="programguide">
<font name="title" face="Arial">
<color>#ffffff</color>
<dropcolor>#000000</dropcolor>
<size>25</size>
<size:small>14</size:small>
<shadow>3,3</shadow>
<bold>yes</bold>
</font>
<font name="info" face="Arial">
<color>#ffffff</color>
<size>17</size>
<size:small>13</size:small>
<shadow>2,2</shadow>
<bold>yes</bold>
</font>
<font name="descinfo" face="Arial">
<shadow>2,2</shadow>
<color>#ffffff</color>
<size>16</size>
<size:small>9</size:small>
<bold>yes</bold>
</font>
<font name="chaninfo" face="Arial">
<shadow>1,1</shadow>
<color>#ffffff</color>
<size>15</size>
<size:small>12</size:small>
<bold>yes</bold>
</font>
<font name="recstatus" face="Arial">
<color>#ffff33</color>
<size>17</size>
<size:small>12</size:small>
<shadow>2,2</shadow>
<bold>yes</bold>
</font>
<font name="small" face="Arial">
<color>#ffff33</color>
<size>16</size>
<size:small>10</size:small>
</font>
<container name="background">
<image name="backup" draworder="0" fleximage="no">
<context>0</context>
<position>0,0</position>
<filename>gg-background.png</filename>
</image>
</container>
<container name="date_info">
<area>20,176,115,25</area>
<textarea name="date" draworder="4" align="center">
<font>info</font>
<area>0,0,115,25</area>
<cutdown>no</cutdown>
</textarea>
</container>
<container name="chanbar">
<area>20,206,123,386</area>
<bar name="chans" draworder="4">
<area>0,0,123,386</area>
<textoffset>38,0</textoffset>
<iconoffset>3,10</iconoffset>
<iconsize>30,30</iconsize>
<orientation>vertical</orientation>
<align>allcenter</align>
<font>chaninfo</font>
<imagefile>gg-chans.png</imagefile>
</bar>
</container>
<container name="timebar">
<area>142,175,640,31</area>
<bar name="times" draworder="4">
<area>0,0,640,31</area>
<align>allcenter</align>
<imagefile>gg-times.png</imagefile>
<font>descinfo</font>
</bar>
</container>
<container name="guide">
<area>143,206,645,386</area>
<guidegrid name="guidegrid" draworder="4">
<area>0,0,645,386</area>
<channels>7</channels>
<timeslots>5</timeslots>
<solidcolor>#003256</solidcolor>
<selector type="box" color="#ffff33"></selector>
<recordingcolor>#00aa00</recordingcolor>
<conflictingcolor>#ff6600</conflictingcolor>
<cutdown>no</cutdown>
<multiline>yes</multiline>
<textoffset>9,6</textoffset>
<!-- customized category colors -->
<recordstatus type="SingleRecord"
image="gg-rs-single.png"></recordstatus>
<recordstatus type="TimeslotRecord"
image="gg-rs-timeslot.png"></recordstatus>
<recordstatus type="ChannelRecord"
image="gg-rs-channel.png"></recordstatus>
<recordstatus type="AllRecord" image="gg-rs-all.png"></recordstatus>
<recordstatus type="WeekslotRecord"
image="gg-rs-weekslot.png"></recordstatus>
<recordstatus type="FindOneRecord"
image="gg-rs-findone.png"></recordstatus>
<recordstatus type="OverrideRecord"
image="gg-rs-override.png"></recordstatus>
<arrow direction="left" image="gg-arrow-left.png"></arrow>
<arrow direction="right" image="gg-arrow-right.png"></arrow>
<font>descinfo</font>
</guidegrid>
</container>
<container name="current_info">
<area>660,20,120,60</area>
<textarea name="time" draworder="4" align="allcenter">
<area>0,0,120,32</area>
<cutdown>no</cutdown>
<font>info</font>
</textarea>
</container>
<container name="program_info">
<area>20,12,760,151</area>
<textarea name="misicon" draworder="5" align="allcenter">
<cutdown>no</cutdown>
<area>5,2,56,60</area>
<font>small</font>
</textarea>
<image name="icon" draworder="6">
<position>3,2</position>
<staticsize>60,60</staticsize>
</image>
<textarea name="title" draworder="4" align="vcenter">
<area>69,0,590,60</area>
<font>title</font>
</textarea>
<textarea name="subtitle" draworder="6">
<area>4,62,376,30</area>
<font>info</font>
<value>%SUBTITLE|"|"%</value>
</textarea>
<textarea name="description" draworder="6">
<area>4,96,690,60</area>
<font>descinfo</font>
<multiline>yes</multiline>
<value>%STARS%%DESCRIPTION%</value>
</textarea>
<textarea name="recordingstatus" draworder="6" align="center">
<area>380,62,380,30</area>
<font>recstatus</font>
</textarea>
</container>
<container name="jumptochannel">
<area>20,20,115,25</area>
<textarea name="channel" draworder="4" align="right">
<font>info</font>
<area>0,0,115,25</area>
<cutdown>no</cutdown>
</textarea>
</container>
</window>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090425/4a045e25/attachment.htm>
More information about the mythtv-users
mailing list