MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2007-01-08, 14:05   #1 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 29
Posts: 6,200
Thanks: 170
Thanked 132 Times in 96 Posts

Country:

My System

Lightbulb How to increase fontsize in TVGuide

If you want to increase the fontsize for the MyTV - TV Guide in Blue2, you need to change the following:

open mytvguide.xml

find:
Quote:
<control>
<description>Channel template</description>
<type>image</type>
<id>20</id>
<posX>62</posX>
<posY>125</posY>
<width>124</width>
<height>34</height>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
change:
Quote:
<height>40</height>
find:
Quote:
<control>
<description>Channel image template</description>
<type>image</type>
<id>7</id>
<width>31</width>
<height>31</height>
<zoom>no</zoom>
<texture>defaultVideoBig.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
change:
Quote:
<width>38</width>
<height>38</height>
find:
Quote:
<control>
<description>channel Label template</description>
<type>label</type>
<id>18</id>
<posX>35</posX>
<posY>5</posY>
<width>65</width>
<height>15</height>
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
change:
Quote:
<font>font16</font>
find:
Quote:
<control>
<description>template for program title light area</description>
<type>label</type>
<id>24</id>
<visible>no</visible>
<label>-</label>
<font>font13</font>
<textcolor>CF101010</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
change:
Quote:
<font>font16</font>
find:
Quote:
<control>
<description>template for program title darkarea </description>
<type>label</type>
<visible>no</visible>
<id>26</id>
<label>-</label>
<font>font13</font>
<textcolor>FFFFFFF0</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
change:
Quote:
<font>font16</font>
Have fun
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
Old 2007-01-08, 15:48   #2 (permalink)
Portal Tester
 
ASiDiE's Avatar
 
Join Date: Jan 2005
Location: USA
Age: 32
Posts: 891
Thanks: 6
Thanked 4 Times in 4 Posts

My System

Default

Thanks for the Tip Chris!
__________________
I SEE WHAT YOU DID THERE!
ASiDiE is offline   Reply With Quote
Old 2007-01-12, 14:13   #3 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 29
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I played around with the same file for the wide screen version. I changed a bit more ..so here is the whole file:

I honestly dont remember all that ive changed:

Quote:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>600</id>
<defaultcontrol>2</defaultcontrol>
<allowoverlay>no</allowoverlay>
<controls>
<control>
<description>BG</description>
<type>image</type>
<id>1</id>
<width>1366</width>
<height>768</height>
</control>
<control>
<type>image</type>
<id>1</id>
<posX>113</posX>
<posY>26</posY>
<texture>television_logo.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<type>image</type>
<id>1</id>
<posX>1142</posX>
<posY>563</posY>
<texture>-</texture>
</control>
<control>
<description>Date</description>
<type>label</type>
<id>1</id>
<posX>1254</posX>
<posY>66</posY>
<label>#date</label>
<align>right</align>
<font>font16</font>
<textcolor>ffa9d0f7</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Time</description>
<type>label</type>
<id>1</id>
<posX>1254</posX>
<posY>93</posY>
<label>#time</label>
<align>right</align>
<font>font16</font>
<textcolor>ffa9d0f7</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Guide Text Label</description>
<type>label</type>
<id>1</id>
<posX>474</posX>
<posY>93</posY>
<label>4</label>
<font>font16</font>
<align>right</align>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>TVGUIDE Panel</description>
<type>image</type>
<id>2</id>
<posX>113</posX>
<posY>120</posY>
<width>1140</width>
<height>440</height>
<colordiffuse>60ffffff</colordiffuse>
<texture>-</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Single Channel Label</description>
<type>label</type>
<id>32</id>
<posX>436</posX>
<posY>120</posY>
<font>font10</font>
<align>left</align>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Single Channel Image</description>
<type>image</type>
<id>33</id>
<posX>350</posX>
<posY>117</posY>
<width>46</width>
<height>46</height>
<keepaspectratio>yes</keepaspectratio>
<zoom>yes</zoom>
<texture>defaultVideoBig.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<!-- Timeheader background must be dedfined before Timeheader label template -->
<!-- b/c Timeheader is on the background and will be rendered first -->
<control>
<description>time header background image template</description>
<type>image</type>
<id>90</id>
<posX>352</posX>
<posY>120</posY>
<width>153</width>
<height>37</height>
<texture>button_small_settings_nofocus.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>time header label template</description>
<type>label</type>
<id>40</id>
<posX>352</posX>
<posY>120</posY>
<font>font13</font>
<textcolor>FFB2D4F5</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>day spin control</description>
<type>spincontrol</type>
<id>6</id>
<width>24</width>
<height>24</height>
<posX>119</posX>
<posY>122</posY>
<showrange>no</showrange>
<orientation>horizontal</orientation>
<align>center</align>
<onleft>6</onleft>
<onright>8</onright>
<textureUp>arrow_round_right_nofocus.png</textureUp>
<textureDown>arrow_round_left_nofocus.png</textureDown>
<textureUpFocus>arrow_round_right_focus.png</textureUpFocus>
<textureDownFocus>arrow_round_left_focus.png</textureDownFocus>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>time interval spin control</description>
<type>spincontrol</type>
<id>8</id>
<width>24</width>
<height>24</height>
<posX>313</posX>
<posY>128</posY>
<showrange>no</showrange>
<orientation>vertical</orientation>
<align>center</align>
<textureUp>arrow_round_up_nofocus.png</textureUp>
<textureDown>arrow_round_down_nofocus.png</textureDown>
<textureUpFocus>arrow_round_up_focus.png</textureUpFocus>
<textureDownFocus>arrow_round_down_focus.png</textureDownFocus>
<onleft>6</onleft>
<onright>8</onright>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Channel template</description>
<type>image</type>
<id>20</id>
<posX>117</posX>
<posY>166</posY>
<width>240</width>
<height>40</height>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Channel image template</description>
<type>image</type>
<id>7</id>
<width>40</width>
<height>36</height>
<zoom>no</zoom>
<texture>defaultVideoBig.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>channel Label template</description>
<type>label</type>
<id>18</id>
<posX>66</posX>
<posY>6</posY>
<width>86</width>
<height>20</height>
<font>font16</font>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Current program title</description>
<type>fadelabel</type>
<id>13</id>
<posX>374</posX>
<posY>574</posY>
<width>666</width>
<label>#TV.Guide.Title</label>
<font>font14</font>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Current program time</description>
<type>label</type>
<id>14</id>
<posX>374</posX>
<posY>720</posY>
<label>#TV.Guide.Time</label>
<align>left</align>
<font>font14</font>
<textcolor>FFB2D4F5</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Current program genre</description>
<type>label</type>
<id>27</id>
<posX>891</posX>
<posY>720</posY>
<label>#TV.Guide.Genre</label>
<align>left</align>
<font>font14</font>
<textcolor>FFB2D4F5</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Description1</description>
<type>textboxscrollup</type>
<id>15</id>
<posX>374</posX>
<posY>614</posY>
<width>879</width>
<height>93</height>
<seperator>----------------------------------------------------------------------------------------------</seperator>
<label>#TV.Guide.Description</label>
<font>font16</font>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<!-- <control>
<description>template for program genre light area</description>
<type>label</type>
<id>23</id>
<label>-</label>
<font>font10</font>
<textcolor>FF101010</textcolor>
</control> -->
<control>
<description>template for program title light area</description>
<type>label</type>
<id>24</id>
<visible>no</visible>
<label>-</label>
<font>font16</font>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>vertical timeline</description>
<type>image</type>
<id>25</id>
<posX>55</posX>
<posY>163</posY>
<height>390</height>
<colordiffuse>c0ffffff</colordiffuse>
<texture>tvguide_slider.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>template for program title darkarea </description>
<type>label</type>
<visible>no</visible>
<id>26</id>
<label>-</label>
<font>font16</font>
<textcolor>FFFFFFFF</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<!-- <control>
<description>template for genre dark area</description>
<type>label</type>
<visible>no</visible>
<id>30</id>
<label>-</label>
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
</control> -->
<control>
<description>TV background</description>
<type>image</type>
<id>98</id>
<posX>113</posX>
<posY>574</posY>
<width>235</width>
<height>175</height>
<colordiffuse>60ffffff</colordiffuse>
<texture>previewbackground.png</texture>
</control>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
<control>
<description>TV preview window</description>
<type>videowindow</type>
<id>99</id>
<posX>121</posX>
<posY>580</posY>
<width>221</width>
<height>161</height>
<action>18</action>
<textureFocus>tv_green_border.png</textureFocus>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Horizontal scrollbar</description>
<type>hscrollbar</type>
<id>28</id>
<posX>115</posX>
<posY>550</posY>
<width>1132</width>
<height>24</height>
<visible>yes</visible>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>Vertical scrollbar</description>
<type>vscrollbar</type>
<id>29</id>
<posX>1261</posX>
<posY>166</posY>
<width>26</width>
<height>409</height>
<visible>yes</visible>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
<control>
<description>record pin</description>
<type>image</type>
<id>31</id>
<posX>834</posX>
<posY>706</posY>
<texture>tvguide_record_button.png</texture>
<visible>no</visible>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="500">WindowClose</animation>
</control>
</controls>
</window>
JaccoH is offline   Reply With Quote
Old 2007-01-27, 15:03   #4 (permalink)
Portal Member
 
PediaMortal's Avatar
 
Join Date: Nov 2006
Age: 28
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Question #TV.Guide.?enre

Thanks Infini

However... after doing and all the changes, and nothing else... honest guv, I get the following in the bottom right corner,

#TV.Guide.?enre

What's all that bout ???

Using 0.2.2.0, Blue2 16:9

Any suggestions?



Rich
PediaMortal is offline   Reply With Quote
Old 2007-01-27, 17:04   #5 (permalink)
Portal Member
 
Efros's Avatar
 
Join Date: Jan 2006
Location: Maine
Posts: 464
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

you have to delete the fonts folder in the skin directory. Lets MP regenerate them.
__________________
"Here's to the electron may it never be of any use to anyone!"

Allegedly a toast at the Royal Institute of Physics at the turn of the 20th Century.

Current skin: Mepo Green

Efros is offline   Reply With Quote
Old 2007-01-27, 19:22   #6 (permalink)
Portal Member
 
madsrh's Avatar
 
Join Date: Jul 2006
Location: Denmark
Age: 27
Posts: 130
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Send a message via Skype™ to madsrh
Thumbs up Great

Thanks Infinityloop, that's nice work. I was actually thinking of suggesting some kind of interface where the sizes in the TVGuide could be changed. I just thought it would be nice to edit font size etc..
Anyway, this works for me.

MadsRH
__________________
madsrh is offline   Reply With Quote
Old 2007-04-07, 19:48   #7 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 91
Thanks: 8
Thanked 0 Times in 0 Posts

Country:


Default

great tips, iŽve already changed the layout/fontsize of a couple of tvosdŽs with the help of it!

what iŽd still like to know is if you can change the actual number of channels displayed in the the tvguide or the minitvguide. by default i think thereŽs 11 channels in the tvguide and 5 or 6 in the miniguide, iŽd like to decrease that for the tvguide if possible.
daHive is offline   Reply With Quote
Reply

Bookmarks

Tags
fontsize, increase, tvguide

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVGuide doesn't obey Channel sortOrder. joboehl pre 1.0 RC1 2 2008-03-08 18:52
TVguide chanel order is wrong. Salle MediaPortal 1 Talk 10 2007-01-29 10:23
TVGUIDE fails to load correct (GROUP) on first opening dutch_ pre 1.0 RC1 2 2006-11-29 14:00
TVGuide: Wrong tvchannel is shown after channel-selection kuehnch The old Bugreport Forum 0 2006-07-16 20:03
Tvguide calls empty tv guide listing andro 0.2.0.0 Release Candidate 1 CVS Bugs 3 2005-11-26 22:10


All times are GMT +1. The time now is 10:26.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden