Fork MediaPortal on GitHub
MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 07:26, 19 Jul 2011 by deda
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > myVideoTitle.xml new skin property

myVideoTitle.xml new skin property

Was this page helpful?

    Purpose

    • Required:  No
    • Type of Change:  Feature

     

    Description of Change

    New skin property which can be added to My Videos database view skin (myVideoTitle.xml) which can signal users that there is some PIN protected content visible or not visible in the Movies list.

     

    #MyVideos.PinLocked, True  (signals hidden locked content)

    #MyVideos.PinLocked, False (signals that locked content is visible)

     

    Property can be used as image or text control and doesn't need any specific control id.

    Additional Information and References

    Mantis Issue: http://mantis.team-mediaportal.com/view.php?id=3631
    Related xml(s): myVideoTitle.xml
    Windows IDs: 25
    Related GUI control:  
    Author: deda
    Date added: Sun, 17 Jul 2011

    XML/Code Samples

     

    • Locked status visible as Image (lock.png should be added in skin images collection folder)


    <control>
          <description>Content locked</description>
          <type>image</type>
          <id>0</id>
          <posX>1160</posX>
          <posY>100</posY>
          <width>82</width>
          <height>82</height>
          <visible>string.equals(#MyVideos.PinLocked, True)</visible>
          <texture>lock.png</texture>
          <keepaspectratio>yes</keepaspectratio>
          <centered>yes</centered>
     </control>

     

    • Unlocked status visible as image (unlock.png should be added in skin images collection folder)


      <control>
          <description>Content unlock</description>
          <type>image</type>
          <id>0</id>
          <posX>1160</posX>
          <posY>100</posY>
          <width>82</width>
          <height>82</height>
          <visible>string.equals(#MyVideos.PinLocked, False)</visible>
          <texture>unlock.png</texture>
          <keepaspectratio>yes</keepaspectratio>
          <centered>yes</centered>
      </control>

    Screenshots

     

     




    Running the latest version?

    V1.8.0 - released July 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners