On Sat, Apr 25, 2009 at 11:01 PM, Robert McNamara <span dir="ltr"><<a href="mailto:robert.mcnamara@gmail.com">robert.mcnamara@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Post the entire <window> to </window> section so that I can take a<br>
look. Also note that there are *two* EPGs to edit/define, the<br>
programguide, and the -video (with video preview) version, so you'll<br>
want to make sure you're editing the relevant one.</blockquote><div><br><br> 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:<br>
<br> <channels>7</channels><br>
<timeslots>5</timeslots><br><br>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.<br>
<br>Thanks for your help!<br><br>tom<br><br><br>(from /usr/share/mythtv/themes/G.A.N.T./ui.xml):<br><br> <window name="programguide"><br><br> <font name="title" face="Arial"><br>
<color>#ffffff</color><br> <dropcolor>#000000</dropcolor><br> <size>25</size><br> <size:small>14</size:small><br> <shadow>3,3</shadow><br>
<bold>yes</bold><br> </font><br><br> <font name="info" face="Arial"><br> <color>#ffffff</color><br> <size>17</size><br> <size:small>13</size:small><br>
<shadow>2,2</shadow><br> <bold>yes</bold><br> </font><br><br> <font name="descinfo" face="Arial"><br> <shadow>2,2</shadow><br>
<color>#ffffff</color><br> <size>16</size><br> <size:small>9</size:small><br> <bold>yes</bold><br> </font><br><br> <font name="chaninfo" face="Arial"><br>
<shadow>1,1</shadow><br> <color>#ffffff</color><br> <size>15</size><br> <size:small>12</size:small><br> <bold>yes</bold><br> </font><br>
<br> <font name="recstatus" face="Arial"><br> <color>#ffff33</color><br> <size>17</size><br> <size:small>12</size:small><br> <shadow>2,2</shadow><br>
<bold>yes</bold><br> </font><br><br> <font name="small" face="Arial"><br> <color>#ffff33</color><br> <size>16</size><br> <size:small>10</size:small><br>
</font><br><br> <container name="background"><br> <image name="backup" draworder="0" fleximage="no"><br> <context>0</context><br> <position>0,0</position><br>
<filename>gg-background.png</filename><br> </image><br> </container><br><br> <container name="date_info"><br> <area>20,176,115,25</area><br> <textarea name="date" draworder="4" align="center"><br>
<font>info</font><br> <area>0,0,115,25</area><br> <cutdown>no</cutdown><br> </textarea><br> </container><br><br> <container name="chanbar"><br>
<area>20,206,123,386</area><br> <bar name="chans" draworder="4"><br> <area>0,0,123,386</area><br> <textoffset>38,0</textoffset><br>
<iconoffset>3,10</iconoffset><br> <iconsize>30,30</iconsize><br> <orientation>vertical</orientation><br> <align>allcenter</align><br> <font>chaninfo</font><br>
<imagefile>gg-chans.png</imagefile><br> </bar><br> </container><br><br> <container name="timebar"><br> <area>142,175,640,31</area><br> <bar name="times" draworder="4"><br>
<area>0,0,640,31</area><br> <align>allcenter</align><br> <imagefile>gg-times.png</imagefile><br> <font>descinfo</font><br> </bar><br>
</container><br><br> <container name="guide"><br> <area>143,206,645,386</area><br> <guidegrid name="guidegrid" draworder="4"><br> <area>0,0,645,386</area><br>
<channels>7</channels><br> <timeslots>5</timeslots><br> <solidcolor>#003256</solidcolor><br> <selector type="box" color="#ffff33"></selector><br>
<recordingcolor>#00aa00</recordingcolor><br> <conflictingcolor>#ff6600</conflictingcolor><br> <cutdown>no</cutdown><br> <multiline>yes</multiline><br>
<textoffset>9,6</textoffset><br><br> <!-- customized category colors --><br><br> <recordstatus type="SingleRecord" image="gg-rs-single.png"></recordstatus><br>
<recordstatus type="TimeslotRecord" image="gg-rs-timeslot.png"></recordstatus><br> <recordstatus type="ChannelRecord" image="gg-rs-channel.png"></recordstatus><br>
<recordstatus type="AllRecord" image="gg-rs-all.png"></recordstatus><br> <recordstatus type="WeekslotRecord" image="gg-rs-weekslot.png"></recordstatus><br>
<recordstatus type="FindOneRecord" image="gg-rs-findone.png"></recordstatus><br> <recordstatus type="OverrideRecord" image="gg-rs-override.png"></recordstatus><br>
<arrow direction="left" image="gg-arrow-left.png"></arrow><br> <arrow direction="right" image="gg-arrow-right.png"></arrow><br> <font>descinfo</font><br>
</guidegrid><br> </container><br><br> <container name="current_info"><br> <area>660,20,120,60</area><br> <textarea name="time" draworder="4" align="allcenter"><br>
<area>0,0,120,32</area><br> <cutdown>no</cutdown><br> <font>info</font><br> </textarea><br> </container><br><br> <container name="program_info"><br>
<area>20,12,760,151</area><br> <textarea name="misicon" draworder="5" align="allcenter"><br> <cutdown>no</cutdown><br> <area>5,2,56,60</area><br>
<font>small</font><br> </textarea><br> <image name="icon" draworder="6"><br> <position>3,2</position><br> <staticsize>60,60</staticsize><br>
</image><br> <textarea name="title" draworder="4" align="vcenter"><br> <area>69,0,590,60</area><br> <font>title</font><br> </textarea><br>
<textarea name="subtitle" draworder="6"><br> <area>4,62,376,30</area><br> <font>info</font><br> <value>%SUBTITLE|"|"%</value><br>
</textarea><br> <textarea name="description" draworder="6"><br> <area>4,96,690,60</area><br> <font>descinfo</font><br> <multiline>yes</multiline><br>
<value>%STARS%%DESCRIPTION%</value><br> </textarea><br> <textarea name="recordingstatus" draworder="6" align="center"><br> <area>380,62,380,30</area><br>
<font>recstatus</font><br> </textarea><br> </container><br><br> <container name="jumptochannel"><br> <area>20,20,115,25</area><br> <textarea name="channel" draworder="4" align="right"><br>
<font>info</font><br> <area>0,0,115,25</area><br> <cutdown>no</cutdown><br> </textarea><br> </container><br><br> </window><br><br></div>
</div>