I'm using this since years now... It's part of WOLPowerManager since beginning...Btw. i think Lehmden's idea really interesting.
<!-- ******************************************************************************************* -->
<!-- ****************************** 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="slide" start="-400,0" end="0,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowOpen</animation>
<animation effect="slide" end="-400,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowClose</animation>
<control>
<description>GROUP: Server0</description>
<type>group</type>
<visible>!string.contains(#WOLPowerManager.Servername0,WOLPowerManager.Servername0)</visible>
<control>
<description>Server0</description>
<type>label</type>
<id>101234</id>
<align>right</align>
<posX>1773</posX>
<posY>41</posY>
<font>Font9</font>
<textcolor>fff5deb3</textcolor>
<label>#WOLPowerManager.Servername0</label>
</control>
<control>
<description>GreenButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate0,online)</visible>
<posX>1785</posX>
<posY>41</posY>
<width>20</width>
<height>20</height>
<texture>pos_gn.png</texture>
</control>
<control>
<description>RedButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate0,offline)</visible>
<posX>1785</posX>
<posY>41</posY>
<width>20</width>
<height>20</height>
<texture>pos_rd.png</texture>
</control>
</control>
<control>
<description>GROUP: Server1</description>
<type>group</type>
<visible>!string.contains(#WOLPowerManager.Servername1,WOLPowerManager.Servername1)</visible>
<control>
<description>Server1</description>
<type>label</type>
<id>111234</id>
<align>right</align>
<posX>1773</posX>
<posY>61</posY>
<font>Font9</font>
<textcolor>fff5deb3</textcolor>
<label>#WOLPowerManager.Servername1</label>
</control>
<control>
<description>GreenButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate1,online)</visible>
<posX>1785</posX>
<posY>61</posY>
<width>20</width>
<height>20</height>
<texture>pos_gn.png</texture>
</control>
<control>
<description>RedButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate1,offline)</visible>
<posX>1785</posX>
<posY>61</posY>
<width>20</width>
<height>20</height>
<texture>pos_rd.png</texture>
</control>
</control>
<control>
<description>GROUP: Server2</description>
<type>group</type>
<visible>!string.contains(#WOLPowerManager.Servername2,WOLPowerManager.Servername2)</visible>
<control>
<description>Server2</description>
<type>label</type>
<id>121234</id>
<align>right</align>
<posX>1773</posX>
<posY>81</posY>
<font>Font9</font>
<textcolor>fff5deb3</textcolor>
<label>#WOLPowerManager.Servername2</label>
</control>
<control>
<description>GreenButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate2,online)</visible>
<posX>1785</posX>
<posY>81</posY>
<width>20</width>
<height>20</height>
<texture>pos_gn.png</texture>
</control>
<control>
<description>RedButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate2,offline)</visible>
<posX>1785</posX>
<posY>81</posY>
<width>20</width>
<height>20</height>
<texture>pos_rd.png</texture>
</control>
</control>
<control>
<description>GROUP: Server3</description>
<type>group</type>
<visible>!string.contains(#WOLPowerManager.Servername3,WOLPowerManager.Servername3)</visible>
<control>
<description>Server3</description>
<type>label</type>
<id>131234</id>
<align>right</align>
<posX>1773</posX>
<posY>101</posY>
<font>Font9</font>
<textcolor>fff5deb3</textcolor>
<label>#WOLPowerManager.Servername3</label>
</control>
<control>
<description>GreenButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate3,online)</visible>
<posX>1785</posX>
<posY>101</posY>
<width>20</width>
<height>20</height>
<texture>pos_gn.png</texture>
</control>
<control>
<description>RedButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate3,offline)</visible>
<posX>1785</posX>
<posY>101</posY>
<width>20</width>
<height>20</height>
<texture>pos_rd.png</texture>
</control>
</control>
<control>
<description>GROUP: Server4</description>
<type>group</type>
<visible>!string.contains(#WOLPowerManager.Servername4,WOLPowerManager.Servername4)</visible>
<control>
<description>Server4</description>
<type>label</type>
<id>141234</id>
<align>right</align>
<posX>1773</posX>
<posY>121</posY>
<font>Font9</font>
<textcolor>fff5deb3</textcolor>
<label>#WOLPowerManager.Servername4</label>
</control>
<control>
<description>GreenButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate4,online)</visible>
<posX>1785</posX>
<posY>121</posY>
<width>20</width>
<height>20</height>
<texture>pos_gn.png</texture>
</control>
<control>
<description>RedButton</description>
<type>image</type>
<visible>string.contains(#WOLPowerManager.Serverstate4,offline)</visible>
<posX>1785</posX>
<posY>121</posY>
<width>20</width>
<height>20</height>
<texture>pos_rd.png</texture>
</control>
</control>
</control>
Which XML should this be put in?hi
here is the skin controls I'm using. With Modifications on x and y coordinates this should work on most skins:
This is for up to 5 different serversXML:<!-- ******************************************************************************************* --> <!-- ****************************** 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="slide" start="-400,0" end="0,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowOpen</animation> <animation effect="slide" end="-400,0" tween="quadratic" easing="in" time=" 400" delay="200">WindowClose</animation> <control> <description>GROUP: Server0</description> <type>group</type> <visible>!string.contains(#WOLPowerManager.Servername0,WOLPowerManager.Servername0)</visible> <control> <description>Server0</description> <type>label</type> <id>101234</id> <align>right</align> <posX>1773</posX> <posY>41</posY> <font>Font9</font> <textcolor>fff5deb3</textcolor> <label>#WOLPowerManager.Servername0</label> </control> <control> <description>GreenButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate0,online)</visible> <posX>1785</posX> <posY>41</posY> <width>20</width> <height>20</height> <texture>pos_gn.png</texture> </control> <control> <description>RedButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate0,offline)</visible> <posX>1785</posX> <posY>41</posY> <width>20</width> <height>20</height> <texture>pos_rd.png</texture> </control> </control> <control> <description>GROUP: Server1</description> <type>group</type> <visible>!string.contains(#WOLPowerManager.Servername1,WOLPowerManager.Servername1)</visible> <control> <description>Server1</description> <type>label</type> <id>111234</id> <align>right</align> <posX>1773</posX> <posY>61</posY> <font>Font9</font> <textcolor>fff5deb3</textcolor> <label>#WOLPowerManager.Servername1</label> </control> <control> <description>GreenButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate1,online)</visible> <posX>1785</posX> <posY>61</posY> <width>20</width> <height>20</height> <texture>pos_gn.png</texture> </control> <control> <description>RedButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate1,offline)</visible> <posX>1785</posX> <posY>61</posY> <width>20</width> <height>20</height> <texture>pos_rd.png</texture> </control> </control> <control> <description>GROUP: Server2</description> <type>group</type> <visible>!string.contains(#WOLPowerManager.Servername2,WOLPowerManager.Servername2)</visible> <control> <description>Server2</description> <type>label</type> <id>121234</id> <align>right</align> <posX>1773</posX> <posY>81</posY> <font>Font9</font> <textcolor>fff5deb3</textcolor> <label>#WOLPowerManager.Servername2</label> </control> <control> <description>GreenButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate2,online)</visible> <posX>1785</posX> <posY>81</posY> <width>20</width> <height>20</height> <texture>pos_gn.png</texture> </control> <control> <description>RedButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate2,offline)</visible> <posX>1785</posX> <posY>81</posY> <width>20</width> <height>20</height> <texture>pos_rd.png</texture> </control> </control> <control> <description>GROUP: Server3</description> <type>group</type> <visible>!string.contains(#WOLPowerManager.Servername3,WOLPowerManager.Servername3)</visible> <control> <description>Server3</description> <type>label</type> <id>131234</id> <align>right</align> <posX>1773</posX> <posY>101</posY> <font>Font9</font> <textcolor>fff5deb3</textcolor> <label>#WOLPowerManager.Servername3</label> </control> <control> <description>GreenButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate3,online)</visible> <posX>1785</posX> <posY>101</posY> <width>20</width> <height>20</height> <texture>pos_gn.png</texture> </control> <control> <description>RedButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate3,offline)</visible> <posX>1785</posX> <posY>101</posY> <width>20</width> <height>20</height> <texture>pos_rd.png</texture> </control> </control> <control> <description>GROUP: Server4</description> <type>group</type> <visible>!string.contains(#WOLPowerManager.Servername4,WOLPowerManager.Servername4)</visible> <control> <description>Server4</description> <type>label</type> <id>141234</id> <align>right</align> <posX>1773</posX> <posY>121</posY> <font>Font9</font> <textcolor>fff5deb3</textcolor> <label>#WOLPowerManager.Servername4</label> </control> <control> <description>GreenButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate4,online)</visible> <posX>1785</posX> <posY>121</posY> <width>20</width> <height>20</height> <texture>pos_gn.png</texture> </control> <control> <description>RedButton</description> <type>image</type> <visible>string.contains(#WOLPowerManager.Serverstate4,offline)</visible> <posX>1785</posX> <posY>121</posY> <width>20</width> <height>20</height> <texture>pos_rd.png</texture> </control> </control> </control>
It still works, but nothing can be changed. As i said any new settings can not be saved or not even updated.This plugin still works on my htpc running 1.10 pre. What's not working on other setups?
Depends on the skin. If there is a Basic Home Menu editor who alters the basichome.xml directly it's better to add this to e.g. common.time or something else that will be imported in the home screen...Which XML should this be put in?