New MP1 skin test (1 Viewer)

wizard123

Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    Replace
    <control>
    <description>current temp label</description>
    <type>label</type>
    <id>0</id>
    <posX>8010</posX>
    <posY>10</posY>
    <height>71</height>
    <align>left</align>
    <label>#tile14.navigation</label>
    <font>font10</font>
    <textcolor>ffffffff</textcolor>
    <visible>true</visible>
    </control>

    With :

    <control>
    <description>current temp label</description>
    <type>label</type>
    <id>0</id>
    <posX>10</posX>
    <posY>10</posY>
    <height>71</height>
    <align>left</align>
    <label>#tile14.navigation</label>
    <font>font10</font>
    <textcolor>ffffffff</textcolor>
    <visible>true</visible>
    </control>

    In basic home

    Then restart mp and see what it returns
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    I add:
    C#:
        <control>
          <description>current temp label</description>
          <type>label</type>
          <id>0</id>
          <posX>10</posX>
          <posY>10</posY>
          <height>71</height>
          <align>left</align>
          <label>latestMediaHandler.myvideo.latest.enabled [#latestMediaHandler.myvideo.latest.enabled] tile14.navigation [#tile14.navigation] #skin.page3navright #skin.page3navleft</label>
          <font>font10</font>
          <textcolor>ffffffff</textcolor>
          <visible>true</visible>
        </control>
    and get:
    upload_2016-11-10_20-28-20.png
    Only I did not understand what I was supposed to see?

    PS: No latest, this property is false. As long as the properties of latest update, this property is false. Once the update has passed, and latest has a property true. When the window loaded, this property is likely to false.
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    You would see 91915991 or 21 depending on if myvideo latest property updated quick enough,
    When the window loaded, this property is likely to false.
    This might be part of the problem, is it possible to get the properties to update before home is loaded ? or at least before the defines are evaluated ?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    This might be part of the problem, is it possible to get the properties to update before home is loaded ? or at least before the defines are evaluated ?
    This makes no sense, it is not static. It changes at MP work.

    BUT: http://wiki.team-mediaportal.com/1_...kins/Skin_Architecture/Defines#Syntax_and_use
    evaluateNow - Specifies whether or not the <define> (which would normally be a skin expression in this case) should be evaluated when it is loaded ("true") or evaluated later by its consumer ("false"). The consumer must provide expression evaluation if the value is "false".
    In the following, at the moment the define is read in (on window load) the define is evaluated and any expressions are resolved immediately (via GUIPropertyManager.Parse()).
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    This might be part of the problem, is it possible to get the properties to update before home is loaded ? or at least before the defines are evaluated ?
    This makes no sense, it is not static. It changes at MP work.

    BUT: http://wiki.team-mediaportal.com/1_...kins/Skin_Architecture/Defines#Syntax_and_use
    evaluateNow - Specifies whether or not the <define> (which would normally be a skin expression in this case) should be evaluated when it is loaded ("true") or evaluated later by its consumer ("false"). The consumer must provide expression evaluation if the value is "false".
    In the following, at the moment the define is read in (on window load) the define is evaluated and any expressions are resolved immediately (via GUIPropertyManager.Parse()).
    I think i can move the expression directly to the control instead of a define so the expression is evaluated when the control has focus, will test in the morning.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    I think i can move the expression directly to the control instead of a define so the expression is evaluated when the control has focus, will test in the morning.
    Like!

    --
    WBR, Andrew J.Swan
     

    Users who are viewing this thread

    Top Bottom