Skin Question: How to find TV Channel thumbs? (1 Viewer)

mbuzina

Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    I am making the avallonis skin for ClickfinderPG plugin and I would like to show the TV Channel Logo of the selected program. I have a skinning property with the channel name, but how do I reference that the image should be retrieved from the thumbs\tv\logos directory? I tried a few things, but only a full path seems to work...
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Code:
        <control>
          <description>TV LOGOS</description>
          <id>0</id>
          <type>image</type>
          <texture>C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\tv\logos\#skinPropertyChannelName.png</texture>
          <shouldCache>true</shouldCache>
          <posX>400</posX>
          <posY>350</posY>
          <width>40</width>
          <height>40</height>
          <visible>control.isVisible(XXXXXXX)</visible>
        </control>

    I can't think of another way at the moment..
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Thanks, I am now using a relative path (..\..\..\Thumbs\tv\logos\#skinproperty.png) which will work a little better if people install to non-standard directories (unless they manually edit the path).
     

    Users who are viewing this thread

    Top Bottom