Improve BasicHome performance by removing MultiImage

Discussion in 'X-Factor' started by Imokles, August 29, 2009.

  1. Imokles
    • Premium Supporter

    Imokles MP Donator

    Joined:
    April 27, 2009
    Messages:
    115
    Likes Received:
    14
    Ratings:
    +14 / 0
    Home Country:
    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
    with
    Repeat that for some or all of the multiimages and note that the "Weather" functionality is handled differently, so leave that section alone.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. zilexa

    zilexa Portal Pro

    Joined:
    October 22, 2008
    Messages:
    151
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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.
     
  4. cul8er
    • Premium Supporter

    cul8er Retired Team Member

    Joined:
    August 31, 2006
    Messages:
    2,159
    Likes Received:
    2,682
    Ratings:
    +2,698 / 0
    Home Country:
    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
     
    • Like Like x 2
  5. zilexa

    zilexa Portal Pro

    Joined:
    October 22, 2008
    Messages:
    151
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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!
     
  6. Ticiano

    Ticiano Portal Pro

    Joined:
    August 16, 2009
    Messages:
    75
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    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.
     
  7. Imokles
    • Premium Supporter

    Imokles MP Donator

    Joined:
    April 27, 2009
    Messages:
    115
    Likes Received:
    14
    Ratings:
    +14 / 0
    Home Country:
    Germany Germany
    This is great news, cul8er! Thanks for including this as an option.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!