[Plugin] WOL-PowerManager | Page 9

Discussion in 'MediaPortal 1 Plugins' started by seppi2204, October 1, 2012.

  1. Helios61
    • Premium Supporter

    Helios61 Retired Team Member

    Joined:
    January 30, 2008
    Messages:
    4,587
    Likes Received:
    584
    Gender:
    Male
    Location:
    NRW
    Ratings:
    +897 / 4
    Home Country:
    Germany Germany
    Show System Specs
    For me unfortuanately the red button doesn't work. Could anybody please give me a hint, what am i doing wrong?
    13-19-36.jpg



    Best regards
    Helios
     
    Last edited: September 25, 2015
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. allanp81

    allanp81 Portal Pro

    Joined:
    October 24, 2006
    Messages:
    917
    Likes Received:
    33
    Ratings:
    +41 / 3
    I'm interested to know why I can't get the green or red buttons working either.

    I've got it to show the server name successfully but how do I check if it's even picking up the server correctly?

    This is the code I added to common.time.xml:

    <!-- ******************************************************************************************* -->
    <!-- ****************************** WOLPowerManager Section ******************************** -->
    <!-- ******************************************************************************************* -->

    <control>
    <description>GROUP: WOLPowerManager</description>
    <type>group</type>
    <dimColor>0xffffffff</dimColor>
    <visible>plugin.isenabled(WOL-PowerManager) + string.contains(#WOLPowerManager.IntervalState,true)</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
    <control>
    <description>GROUP: Server0</description>
    <type>group</type>
    <visible>!string.contains(#WOLPowerManager.Servername0,WOLPowerManager.Servername0)</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
    <control>
    <description>Server0</description>
    <type>label</type>
    <id>101234</id>
    <align>right</align>
    <posX>1845</posX>
    <posY>130</posY>
    <font>TitanLight12</font>
    <textcolor>ffffff</textcolor>
    <label>TV Server</label>
    </control>
    <control>
    <description>GreenButton</description>
    <type>image</type>
    <visible>string.contains(#WOLPowerManager.Servername0,online)</visible>
    <posX>1785</posX>
    <posY>130</posY>
    <width>20</width>
    <height>20</height>
    <texture>osd_is_recording.png</texture>
    </control>
    <control>
    <description>RedButton</description>
    <type>image</type>
    <visible>string.contains(#WOLPowerManager.Servername0,offline)</visible>
    <posX>1785</posX>
    <posY>130</posY>
    <width>20</width>
    <height>20</height>
    <texture>osd_is_recording.png</texture>
    </control>
    </control>
    </control>
     
    Last edited: March 25, 2016
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!