2011-10-23, 13:34
Hey folks,
I was playing around with Rapier a while back and liked the SystemInfoPanel idea it got going on in the homescreen. I decided to recreate this for my favourite skin; Aeon Nox.
First off, I'm pretty new to XBMC skinning. I used to skin for MediaPortal a lot and since the engines are pretty similair I think I can handle and figure out most stuff.
Next let's take a look @ what we're talking about;
To get this going yourself you will need to edit 2 files;
1) first openup home.xml and add the following;
This needs to be added just before;
2) next openup Includes_HomeWidgets.xml and add;
Needs to be added just before the final </includes> tag at the end.
Here you can find my modified skin files I currently use but since there are probably some other tweaks in there be cautious with just copying over the original files.
In the zip you'll also find the icons I used. The images in the xml part pasted above are also pointing directly to files on my filesystem (C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\) so you'll need to change that as well
I was playing around with Rapier a while back and liked the SystemInfoPanel idea it got going on in the homescreen. I decided to recreate this for my favourite skin; Aeon Nox.
First off, I'm pretty new to XBMC skinning. I used to skin for MediaPortal a lot and since the engines are pretty similair I think I can handle and figure out most stuff.
Next let's take a look @ what we're talking about;
To get this going yourself you will need to edit 2 files;
1) first openup home.xml and add the following;
PHP Code:
<include>SystemInfoPanel</include>
PHP Code:
</controls>
</window>
2) next openup Includes_HomeWidgets.xml and add;
PHP Code:
<include name="SystemInfoPanel">
<control type="group">
<posx>1028</posx>
<posy>452</posy>
<visible>Container(9000).HasFocus(5)</visible>
<animation effect="slide" start="0,0" end="0,-180" time="400" tween="cubic" easing="inout" condition="Skin.HasSetting(lowermainmenu)|Skin.HasSetting(Lockhomemenulow)">Conditional</animation>
<include>VisibleFadeEffect</include>
<control type="image">
<description>background</description>
<width>240</width>
<height>240</height>
<texture border="0">keyboard/keyboard_back.png</texture>
</control>
<control type="label">
<description>Title</description>
<posx>10</posx>
<posy>5</posy>
<width>220</width>
<height>40</height>
<align>center</align>
<aligny>center</aligny>
<label>[UPPERCASE]$LOCALIZE[138][/UPPERCASE]</label>
<font>Font_Reg19_Caps</font>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
<animation effect="fade" start="0" end="100" delay="1000" time="500">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
<animation effect="fade" start="0" end="100" delay="500" time="800">Visible</animation>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
</control>
<!-- Icons -->
<control type="grouplist">
<posx>20</posx>
<posy>42</posy>
<width>24</width>
<itemgap>3</itemgap>
<control type="image">
<description>InternetState connected</description>
<width>24</width>
<height>24</height>
<visible>$INFO[System.InternetState]</visible>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\connected.png</texture>
</control>
<control type="image">
<description>InternetState disconnected</description>
<width>24</width>
<height>24</height>
<visible>!$INFO[System.InternetState]</visible>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\disconnected.png</texture>
</control>
<control type="image">
<description>Uptime</description>
<width>24</width>
<height>24</height>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\uptime.png</texture>
</control>
<control type="image">
<description>CPU</description>
<width>24</width>
<height>24</height>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\cpu.png</texture>
</control>
<control type="image">
<description>RAM</description>
<width>24</width>
<height>24</height>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\ram.png</texture>
</control>
<control type="image">
<description>Resolution</description>
<width>24</width>
<height>24</height>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\resolution.png</texture>
</control>
<control type="image">
<description>Windows</description>
<width>24</width>
<height>24</height>
<texture border="0">C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\windows.png</texture>
</control>
</control>
<control type="grouplist">
<posx>50</posx>
<posy>42</posy>
<width>210</width>
<itemgap>15</itemgap>
<control type="label">
<description>IP Address</description>
<width>220</width>
<height>12</height>
<label>$INFO[Network.IPAddress]</label>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<description>System Uptime</description>
<posy>7</posy>
<width>220</width>
<height>12</height>
<label>$INFO[System.Uptime]</label>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<description>CPU</description>
<width>220</width>
<height>12</height>
<label>$INFO[System.CpuFrequency]</label>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<description>Free RAM</description>
<posy>7</posy>
<width>220</width>
<height>12</height>
<label>$INFO[System.FreeMemory]</label>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<description>Screen Resolution</description>
<width>220</width>
<height>12</height>
<label>$INFO[System.ScreenWidth] x $INFO[System.ScreenHeight]</label>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<description>Windows</description>
<width>180</width>
<height>12</height>
<label>$INFO[System.KernelVersion]</label>
<textcolor>c0FFFFFF</textcolor>
<shadowcolor>black</shadowcolor>
</control>
</control>
</control>
</include>
Needs to be added just before the final </includes> tag at the end.
Here you can find my modified skin files I currently use but since there are probably some other tweaks in there be cautious with just copying over the original files.
In the zip you'll also find the icons I used. The images in the xml part pasted above are also pointing directly to files on my filesystem (C:\Users\Jos\AppData\Roaming\XBMC\addons\skin.aeon.nox\media\) so you'll need to change that as well