Latest Media Facade - Some help in gettting this to work

Discussion in 'Titan Skin Feedback' started by Mr. V, September 1, 2013.

  1. Mr. V

    Mr. V Portal Pro

    Joined:
    September 15, 2007
    Messages:
    150
    Likes Received:
    82
    Location:
    Brisbane
    Ratings:
    +83 / 0
    Home Country:
    Ok this has been doing my head in. Im not sure what I am missing here but some help would be great.

    So I created a xml named BasicHome.recentlyaddedMusicFacade.xml and added a line to import the xml into the basic home.



    Code (Text):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <window>
    3.         <controls>
    4.                 <control>
    5.                         <animation effect="fade" start="100" end="0" time="200" reversible="false">Hidden</animation>
    6.                         <animation effect="fade" start="0" end="100" delay="150" time="400" reversible="false">Visible</animation>
    7.                         <animation effect="fade" start="0" end="100" time="300" delay="350">WindowOpen</animation>
    8.                         <animation effect="fade" start="100" end="0" time="0" delay="0">WindowClose</animation>
    9.                         <type>facadeview</type>
    10.                         <id>919199970</id>           
    11.                         <control>
    12.                                 <description>Filmstrip view</description>
    13.                                 <type>filmstrip</type>
    14.                                 <dimColor>90ffffff</dimColor>
    15.                                 <id>919199970</id>
    16.                                 <scrollOffset>3</scrollOffset>
    17.                                 <folderPrefix/>
    18.                                 <folderSuffix/>
    19.                                 <posX>100</posX>
    20.                                 <posY>150</posY>
    21.                                 <width>1720</width>
    22.                                 <height>500</height>
    23.                                 <onup>919199970</onup>
    24.                                 <ondown>919199970</ondown>
    25.                                 <onleft>919199970</onleft>
    26.                                 <onright>919199970</onright>                           
    27.                                 <thumbWidth>176</thumbWidth>
    28.                                 <thumbHeight>252</thumbHeight>
    29.                                 <thumbPosX>14</thumbPosX>
    30.                                 <thumbPosY>16</thumbPosY>
    31.                                 <itemWidth>208</itemWidth>
    32.                                 <itemHeight>280</itemHeight>
    33.                                 <textureWidth>204</textureWidth>
    34.                                 <textureHeight>280</textureHeight>
    35.                                 <textYOff>0</textYOff>
    36.                                 <imageFolderFocus>-</imageFolderFocus>
    37.                                 <frame>-</frame>
    38.                                 <frameFocus>-</frameFocus>
    39.                                 <background>-</background>
    40.                                 <scrollOffset>2</scrollOffset>                           
    41.                                 <showFrame>yes</showFrame>
    42.                                 <showFolder>no</showFolder>
    43.                                 <showBackGround>no</showBackGround>
    44.                                 <showInfoImage>no</showInfoImage>
    45.                                 <scrollbarBackground>-</scrollbarBackground>                           
    46.                                 <scrollbarBackground>scrollbar_bg.png</scrollbarBackground>
    47.                 <scrollbarLeft>scrollbar_left_hor.png</scrollbarLeft>
    48.                 <scrollbarRight>scrollbar_right_hor.png</scrollbarRight>
    49.                                 <scrollbarWidth>630</scrollbarWidth>
    50.                                 <scrollbarHeight>5</scrollbarHeight>
    51.                                 <scrollbarYOff>487</scrollbarYOff>
    52.                                 <thumbAnimation effect="zoom" start="100,100" reversible="false" end="108,111" center="0,430" time="200">focus</thumbAnimation>
    53.                                 <thumbAnimation effect="zoom" start="108,111"  reversible="false" end="100,100" center="0,430" time="100">unfocus</thumbAnimation>             
    54.                                 <visible allowhiddenfocus="true">string.equals(#recentMedia, Music) + ![control.isvisible(601) | control.isvisible(501)] + ![Control.HasFocus(551) | Control.HasFocus(552) | Control.HasFocus(553) | Control.HasFocus(554) | Control.HasFocus(555) | Control.HasFocus(651) | Control.HasFocus(652) | Control.HasFocus(653) | Control.HasFocus(654) | Control.HasFocus(655) | Control.HasFocus(12) | Control.HasFocus(13) | Control.HasFocus(14) | Control.HasFocus(99999)] + string.equals(#latestMediaHandler.music.latest.enabled,true)</visible>
    55.                         </control>
    56.                 </control>
    57.         </controls>
    58. </window>

    I then clear the cache and load mediaportal. The façade is shown on screen when music is selected. If I then go into the music section(or any other screen) and then return to the home screen the façade disappears. The only way to make this appear again is to close mediaportal and clear the cache.

    Got to be something simple I am missing.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mrbonsen
    • Super User

    mrbonsen Super User

    Joined:
    December 6, 2008
    Messages:
    6,394
    Likes Received:
    469
    Gender:
    Male
    Location:
    Brensbach (HE) ehemals Görlitz
    Ratings:
    +844 / 11
    Home Country:
    Germany Germany
    Show System Specs
    extendet version ? (music) iss still in the editor titan editor or integrated adjustable.
    or it comes - in all homescreen views "latestmedia music" display?
    otherwise. . . how did you get that "visible" values​​? do not agree.
     
    Last edited: September 4, 2013
  4. Mr. V

    Mr. V Portal Pro

    Joined:
    September 15, 2007
    Messages:
    150
    Likes Received:
    82
    Location:
    Brisbane
    Ratings:
    +83 / 0
    Home Country:
    I added the code into the titan extended theme directory. The existing code for latest media was enabled and working at the time of testing this.

    For the visible value it is copied and pasted from the original latest music xml. To clarify I can change the visible condition to 'true' and it still disappears on a screen change.

    May be try it out and see what I mean. Just add <import>BasicHome.recentlyaddedMusicFacade.xml</import> into the end of basichome.xml in the extended themes directory

    Then copy and paste the code above in a BasicHome.recentlyaddedMusicFacade.xml. Clear the cache and load titan extended.
     
  5. mrbonsen
    • Super User

    mrbonsen Super User

    Joined:
    December 6, 2008
    Messages:
    6,394
    Likes Received:
    469
    Gender:
    Male
    Location:
    Brensbach (HE) ehemals Görlitz
    Ratings:
    +844 / 11
    Home Country:
    Germany Germany
    Show System Specs
    I know how it goes. . .
    do not understand exactly what you want? google translator . . .fu****
    latestmedia music in all homescreen views?
     
  6. Mr. V

    Mr. V Portal Pro

    Joined:
    September 15, 2007
    Messages:
    150
    Likes Received:
    82
    Location:
    Brisbane
    Ratings:
    +83 / 0
    Home Country:
    I want this to show when music is selected on the home screen.

    This does not work as intended and I don't know why. I only see the fadace the first time I load mediaportal, then it disappears.
    <visible allowhiddenfocus="true">string.equals(#recentMedia, Music) + string.equals(#latestMediaHandler.music.latest.enabled,true)</visible>

    Does it work for you?
    Can someone else in the community also try it and see if they can get it to work?

    I am thinking something may be hard coded into the titan skin that may prevent it from working.
     
  7. mrbonsen
    • Super User

    mrbonsen Super User

    Joined:
    December 6, 2008
    Messages:
    6,394
    Likes Received:
    469
    Gender:
    Male
    Location:
    Brensbach (HE) ehemals Görlitz
    Ratings:
    +844 / 11
    Home Country:
    Germany Germany
    Show System Specs
    mhhh, so it works!
     

    Attached Files:

    • 11.jpg
      11.jpg
      File size:
      205.3 KB
      Uploaded:
      September 5, 2013
      Views:
      100
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!