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

D3ltoroxp

MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    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

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,764
    6,608
    Kyiv
    Ukraine Ukraine
    Country flag
    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
    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
    11,764
    6,608
    Kyiv
    Ukraine Ukraine
    Country flag
    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
    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
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    F Problems with new install of MP2 Newcomers Forum 3
    A [solved] DiseqC problems after upgrade to 1.25 General Support 1
    M Problems with VFD Display after standby- Futaba DM140GINK Mini Display 0
    R Connection (api) problems with thetvdb.com General 3
    123vak123 [solved] 5008: The problem with scrolling text in the "listcontrol" in 4K General Support 22
    framug 1.24.0 1.25.0 pre : problem with build ? 1.24 Pre Release 75
    J Problems with 1.24 StreamedMP 19
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    404 [solved] EPG problem after Win10 'upgrade' General Support 1
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
    C strange tuner(?) problem TV-Cards 0
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    T [solved] Startup problem General 6
    G Problems with DRR MediaPortal 1 Talk 1
    rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    joecrow Default Wide HD Xmas Theme Problem General Support 3
    K Sleep mode problem after formating General Support 2
    P IPTV Channel Problem TV-Server 0
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    nominefi Problem scanning channels. General Support 0
    E Swedish subtitles problem General 2
    G Newb trying MP2, trouble with guide data General 5
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    geotwticher [solved] Fatal Error 0x80070643 during MP2 installation General 7
    Top Bottom