1.4.x - Titan: Category images in MovingPictures upscaled and blurry

Discussion in 'Titan Skin Feedback' started by StarWup, February 6, 2015.

  1. StarWup

    StarWup Portal Pro

    Joined:
    April 7, 2011
    Messages:
    113
    Likes Received:
    4
    Ratings:
    +5 / 1
    Home Country:
    Germany Germany
    Show System Specs
    Hi all,

    I defined some movie categories in MovingPictures with Titan 1.4. and pooled movies to collections via the Node/Filter function in MovingPictures. For each node i defined a backdrop which I got from the well-known category image thread (https://forum.team-mediaportal.com/threads/category-image-exchange.74382/).

    The backdrops are 454x455 px in size. But they are upscaled and blurry (see screenshot below). Is there anything I can do to maintain the image size and aspect ratio?

    screen.png


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    no response for a month...that's odd.o_O If this is still a problem:
    It's my understanding that the Category Images are not supposed to be used as full-size backdrops, but rather as an additional smaller image (As the examples in the thread you linked show). If you insist to use them as backdrops you could add the following lines to the respective <control>-Item in the skinfile:
    Code (XML):
    1. <keepaspectratio>yes</keepaspectratio>
    2. <align>center</align>
    3. <valign>middle</valign>
    This would center the image. But make sure that, if there is a field <zoom> or <zoomfromtop>, it is set to false, not true.

    More eleganty though would be an additional <control>-Item like the example code in the linked thread. This way you'll have the category image and an actual backdrop from one of the movies matching the criteria.

    For instance if you add this:
    Code (XML):
    1.  
    2. <control>
    3.      <description>Category images (Categories)</description>
    4.      <type>image</type>
    5.      <id>0</id>
    6.      <posX>1600</posX>
    7.      <posY>150</posY>
    8.      <width>300</width>
    9.      <height>300</height>
    10.      <texture>C:\Path\to\your\pictures\#MovingPictures.SelectedNode.FileFriendlyName.png</texture>
    11.      <visible>facadeview.list + control.isvisible(51)</visible>
    12.      <animation effect="fade" time="250">WindowOpen</animation>
    13.      <animation effect="fade" time="250">WindowClose</animation>
    14.   </control>
    15.  
    to the movingpictures.facade.xml (put it at the end, just before "</controls>") and adjust the <texture>-field to your file structure. You will end up with something like this:
    MP_Category.JPG
    You can of course adjust the size and position. This is how I thought it looks best.
     
    • Thank You! Thank You! x 1
  4. StarWup

    StarWup Portal Pro

    Joined:
    April 7, 2011
    Messages:
    113
    Likes Received:
    4
    Ratings:
    +5 / 1
    Home Country:
    Germany Germany
    Show System Specs
    Thank you for your answer and this excellent explanation! That's exactly what I was looking for. Indeed it was my false understanding that the category images were supposed to be used as a sort of backdrops (never saw a screenshot with Titan to see the proper results) - and the only location I found where to set that was in Moving Pictures under the GU settings tab.

    What I was really looking for was how to use the category images as they were supposed to be, of course. But I couldn't figure out how to set that in Titan skin. I learned from your description that Titan skin doesn't support category images out of the box, is that right? What made it even worse is that I didn't get any answer neither in the Category Image thread nor in this Titan skin feedback thread for weeks. The MovingPictures website is also down for a while so here too no chance to have a look in that wiki. That's what really makes me angry with MP in general from time to time - the lack of documentation and the sudden deaths of plugins or skins.
    So I dumped it all and switched to StreamedMP skin. No need to adjust anything there. It just works. I'm happy :)
    If I would have learned the elegant way by adding an additional <control>-Item like the example code in your linked thread AND would have got any useful answer to my questions in which file to add this piece of code I would have stayed with Titan.

    Again, thank you for your highly skilled answer!

    Sven
     
  5. bta489

    bta489 Portal Pro

    Joined:
    March 17, 2013
    Messages:
    112
    Likes Received:
    24
    Gender:
    Male
    Ratings:
    +49 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Yeah, that's pretty frustrating. That's why I one day just opened some .xml's and looked what happened if I changed things. Documentation is indeed scarce sometimes, but most if it is out there somewhere.
    I guess the problem with category-images is that it isn't a complete "plugin" itself, but rather a quick hack. I guess no one felt responsible to document it properly.

    Yes, Titan is rather basic out of the box. It is a good base for further customization, though. Unfortunately there are no comfortable tools for that.

    StreamedMP however is a great skin. If I hadn't invested so much time in customizing Titan this would be first choice for me as well.
     
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!