display of multiple Art (Clear Art / Clear Logo) (1 Viewer)

pur_berger

Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    I'm looking for a way to display CklearArt ClearLogo on after another. At teh moment I'm only able to display one or another - depending on what is present:

    Code:
     <control>
    			<description>Clear Art CDArt</description>   
    			<type>image</type>
    			<id>4001</id>
    			<posX>20</posX>
    			<posY>742</posY>
    			<width>600</width>
    			<height>506</height>
    			<align>center</align>
    			<keepaspectratio>yes</keepaspectratio>
    			<texture>..\..\..\Thumbs\ClearArt\Movie\#(string.trim(#MovingPictures.SelectedMovie.imdb_id)).png</texture>
    			<visible>Control.IsVisible(50)</visible>
    		</control>
     
     
    	<control>
    			<description>Clear Logo CDART</description>   
    			<type>image</type>
    			<id>4002</id>
    			<posX>20</posX>
    			<posY>810</posY>
    			<width>600</width>
    			<height>481</height>
    			<align>center</align>
    			<keepaspectratio>yes</keepaspectratio>
    			<texture>..\..\..\Thumbs\ClearLogo\Movies\#(string.trim(#MovingPictures.SelectedMovie.imdb_id)).png</texture>
    			<visible>Control.IsVisible(50)+(!Control.HasThumb(4001)</visible>
    		</control>

    What I would like to do is to switch permanently between these too.

    Can anyone help me please?
     
    Last edited:

    Shangostar

    MP Donator
  • Premium Supporter
  • December 27, 2009
    438
    125
    Somerset
    Home Country
    United Kingdom United Kingdom
    You can have them show at the same time but not sure what you mean by one then the other?

    The code above is set to prioritise clearArt if available, if it is not available then it is set to show clear logo instead.

    <control>
    <description>Clear Logo CDART</description>
    <type>image</type>
    <id>4002</id>
    <posX>20</posX>
    <posY>810</posY>
    <width>600</width>
    <height>481</height>
    <align>center</align>
    <keepaspectratio>yes</keepaspectratio>
    <texture>..\..\..\Thumbs\ClearLogo\Movies\#(string.trim(#MovingPictures.SelectedMovie.imdb_id)).png</texture>
    <visible>Control.IsVisible(50)+(!Control.HasThumb(4001)</visible>
    </control>

    Remove the red from the code if you want them to both display at the same time, you will also need to reposition one of them using the green sections or they will show on top of each other.
     
    Last edited:

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    ;)- well - I know what my code does ...

    Wht I want is to show first the DVDArt, than the Cklear Art, than the DVD Art again and so on - like a slideshow
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    If for now playing screen you can use an expression that evaluates the playback time to alternate visibility been each control. not sure if it's possible when media is not being played back.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    that won't work loop only supports delay and effect animation timing. you need to link to external timing event. can the system time be displayed in seconds ,if so you can use that.
     

    Users who are viewing this thread

    Top Bottom