- April 27, 2009
- 115
- 14
- Home Country
-
Germany
The one thing that has always concerned me about X-Factor was the fact that it was quite slow when re-entering Basichome. On my ION330-based HTPC it took about 3 to 5 seconds to load basichome when jumping from another section of Mediaportal. During this time the application was completely unresponsive.
Playing around with the basichome.xml I found that the section that ate up those seconds was the multiimage functionality. I had 12 different backgrounds, however, I did not really use multiimage - I only had a single picture in each of the "Animiation" subdirectories. So I decided to replace the multiimages by standard images. Jumps to basichome are now instant, and the whole menu feels a lot more responsive to me.
What I basically did was the following. Assume that for the "news" background, you have a file "default.jpg" in "Animations" you want to show instead of the whole folder content. You would then replace the section
Playing around with the basichome.xml I found that the section that ate up those seconds was the multiimage functionality. I had 12 different backgrounds, however, I did not really use multiimage - I only had a single picture in each of the "Animiation" subdirectories. So I decided to replace the multiimages by standard images. Jumps to basichome are now instant, and the whole menu feels a lot more responsive to me.
What I basically did was the following. Assume that for the "news" background, you have a file "default.jpg" in "Animations" you want to show instead of the whole folder content. You would then replace the section
with<control>
<description>BACKGROUND 0</description>
<id>1200</id>
<type>multiimage</type>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath>news</imagepath>
<timeperimage>30000</timeperimage>
<fadetime>800</fadetime>
<loop>yes</loop>
<randomize>True</randomize>
<animation effect="fade" start="0" end="100" time="250">VisibleChange</animation>
<visible>Control.HasFocus(77046)</visible>
</control>
Repeat that for some or all of the multiimages and note that the "Weather" functionality is handled differently, so leave that section alone.<control>
<description>BACKGROUND 0</description>
<id>1200</id>
<type>image</type>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texture>Animations//news//default.jpg</texture>
<animation effect="fade" start="0" end="100" time="250">VisibleChange</animation>
<visible>Control.HasFocus(77046)</visible>
</control>