The problem with the visibility condition ... (1 Viewer)

D3ltoroxp

MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Hello, i have problems with the disc images in videoosd.

    I have changed this in video fullscreen.xml

    XML:
    <!-- Rotating Disc Image -->
    <control>
    <description>Disc Image Series</description>
    <type>image</type>
    <id>69674</id>
    <posX>255</posX>
    <posY>755</posY>
    <width>200</width>
    <height>200</height>
    <texture>#TVSeries.Play.CDSeason</texture>
    <keepaspectratio>no</keepaspectratio>
    <visible>string.equals(#skin.enable.CD Art,True) + !window.isosdvisible+window.ispauseosdvisible+player.paused + !string.equals(#TVSeries.Episode.SeriesName,)|player.rewinding|player.forwarding|control.isVisible(10)|control.isVisible(11)|control.isVisible(12)</visible>
    <animation effect="slide" start="0,0" end="0,0" time="400" condition="!player.paused">Conditional</animation>
    <animation effect="slide" start="0,0" end="0,0" time="400" condition="player.paused">Conditional</animation>
    <animation effect="rotate" delay="0" end="-360" time="16000" loop="true" condition="player.hasvideo">Conditional</animation>
    </control>
    <control>
    <description>Disc Image Movies</description>
    <type>image</type>
    <id>69674</id>
    <posX>255</posX>
    <posY>755</posY>
    <width>200</width>
    <height>200</height>
    <texture>..\..\..\Thumbs\MovingPictures\DVDArt\FullSize\#(string.trim(#MovingPictures.SelectedMovie.imdb_id)).png</texture>
    <keepaspectratio>no</keepaspectratio>
    <visible>string.equals(#skin.enable.CD Art,True) + !window.isosdvisible+window.ispauseosdvisible+player.paused + string.contains(#Play.Current.Thumb,MovingPictures)|player.rewinding|player.forwarding|control.isVisible(10)|control.isVisible(11)|control.isVisible(12)</visible>
    <animation effect="slide" start="0,0" end="0,0" time="400" condition="!player.paused">Conditional</animation>
    <animation effect="slide" start="0,0" end="0,0" time="400" condition="player.paused">Conditional</animation>
    <animation effect="rotate" delay="0" end="-360" time="16000" loop="true" condition="player.hasvideo">Conditional</animation>
    </control>
    <!-- Rotating Disc Image -->

    If you can see,when i click pause or info it shows the right disc, when i click forward / rewind he shows me the disc from last seen movie. Whats wrong ?
     

    Attachments

    • Screenshot (42).png
      Screenshot (42).png
      566.5 KB
    • Screenshot (43).png
      Screenshot (43).png
      396.4 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,626
    10,555
    Kyiv
    Home Country
    Ukraine Ukraine
    when i click forward / rewind he shows me the disc from last seen movie. Whats wrong ?
    It seems to me a mistake somewhere here:
    XML:
    <visible>string.equals(#skin.enable.CD Art,True) + !window.isosdvisible+window.ispauseosdvisible+player.paused + string.contains(#Play.Current.Thumb,MovingPictures)|player.rewinding|player.forwarding|control.isVisible(10)|control.isVisible(11)|control.isVisible(12)</visible>
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Can i use someone in this line, that when id ... is show'n the other id ... is hidden ?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,626
    10,555
    Kyiv
    Home Country
    Ukraine Ukraine
    It is necessary to change the logic in the line of visibility, perhaps like this:
    XML:
    <visible>string.equals(#skin.enable.CD Art,True) + !window.isosdvisible + string.contains(#Play.Current.Thumb,MovingPictures) + window.ispauseosdvisible + [player.paused|player.rewinding|player.forwarding|control.isVisible(10)|control.isVisible(11)|control.isVisible(12)</visible>
    You can assign IDs to one of these pictures and not show the second when the first visible.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Can you tell me the code for this option ? I know how it should Listen
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Can i use someone in this line, that when id ... is show'n the other id ... is hidden ?
    You can assign IDs to one of these pictures and not show the second when the first visible.

    For your answer in the last post ?
     

    Users who are viewing this thread

    Top Bottom