Improve BasicHome performance by removing MultiImage (1 Viewer)

Imokles

MP Donator
  • Premium Supporter
  • April 27, 2009
    115
    14
    Germany 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
    <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>
    with
    <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>
    Repeat that for some or all of the multiimages and note that the "Weather" functionality is handled differently, so leave that section alone.
     

    zilexa

    Portal Pro
    October 22, 2008
    151
    6
    Netherlands Netherlands
    Wow this is great!
    Although I have a dualcore 2.6Ghz (5050e) cpu and 4GB, I still find the delay to go back to BasicHome annoying.
    Perhaps because my cpu runs on 1ghz by default and if necessary it goes up to the max but I don't want to run it on max by default because then I hear my fan noise.

    I hope this will be an installer option in the future. Although I understand it can be difficult.
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Sweden Sweden
    Hi,

    This is allready included in the version soon to be released;) for every image you can now choose if it should be a multiimage or a dedicated image.

    cheers
    cul8er
     

    zilexa

    Portal Pro
    October 22, 2008
    151
    6
    Netherlands Netherlands
    Wow great!

    Btw I just discovered, if I adjust MP settings/skin settings and startup MP, I have to use menuscreenselector again to change to the view I want. Perhaps the Skin editor could include the option to select the default menu style?
    BTW I like the horizontal menu but its unclear to me wich submenu is selected because they are all black (or perhaps dark grey?) and I suppose it's always the one in the middle, but not if you only have 3 items or so..
    I use the vertical menu (actually still dont know wich I like best... so many great options!)
    Ooh.. and in MovingPictures, I cannot choose to view all or only unwatched movies. I can only select layout (via Switch view and Toggle View). I have to use my mouse-right click to get this option.

    Thanks for all your hard work so far!
     

    Ticiano

    Portal Pro
    August 16, 2009
    75
    3
    Brazil Brazil
    Thank you for the tip, Imokles.

    I think the performance is one of the crucial priorities for this skin. This is the best skin for me, but it could be faster... Nice move to add this option in the next version, cul8er.
     

    Imokles

    MP Donator
  • Premium Supporter
  • April 27, 2009
    115
    14
    Germany Germany
    This is great news, cul8er! Thanks for including this as an option.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    horned_reaper [solved] Improved MBID Search for Artist and Album Fanart Handler 106
    ajs [fixed] 5022: Improving the MPE Installer, providing nicer GUI :) MediaPortal 1 42
    doskabouter Small code improvements MediaPortal 1 8
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    doskabouter Exceptions found due to improved logging General Support 11
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    ge2301 Bugs and Improvements Nereus 0
    N [Proposal] How to improve series scheduling MediaPortal 2 72
    ge2301 [Finished] [MP2-776] Improve busy screen appearance MediaPortal 2 14
    B [MP2-772-773] improve busy cursor and settings loading Testing Area 10
    azzuro [Help Me!] Improve duration times of GUI List items MediaPortal 2 37
    Alberto83 [Finished] [MP2-752] Improve recording handling MediaPortal 2 34
    B [MP2-744] WMC home content focus improvements Archive 55
    T TVSeries: über BasicHome aufrufen Plugins & Erweiterungen 5
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    hwahrmann [Question] Performance of TeamMediaportal @ Myget Developer Discussions 1
    F GUI incredibly slow Performance General 22
    C How well can MediaPortal handle 10,000+ recordings? MediaPortal 1 Talk 3
    M Apollo Lake and Gemini Lake 4K HEVC HDR10 performance General 1
    Top Bottom