2017-01-31, 21:19
I made small customization in xonfluence skin adding few lines in Includes.xml,
Just after the line:
<include name="ClockDefault"><label>$INFO[System.Time]</label></include>
I have added the new one:
<include name="CPUTemp"><label>CPU Temp: $INFO[System.CPUTemperature]</label></include>
Then below made a copy-paste the following section:
<control type="label" id="1">
<description>time label</description>
<right>20</right>
<top>5</top>
<width>200</width>
<height>30</height>
<align>right</align>
<aligny>center</aligny>
<font>font28_title</font>
<textcolor>gray</textcolor>
<shadowcolor>black</shadowcolor>
<include condition="!Skin.HasSetting(ClockShowSeconds)">ClockDefault</include>
<include condition="Skin.HasSetting(ClockShowSeconds)">ClockSeconds</include>
<include>Window_OpenClose_Animation</include>
[.....]
</control>
and added:
<control type="label" id="1">
<description>CPU Temp label</description>
<right>20</right>
<top>48</top>
<width>200</width>
<height>30</height>
<align>right</align>
<aligny>center</aligny>
<font>font27_title</font>
<textcolor>yellow</textcolor>
<shadowcolor>black</shadowcolor>
<include condition="!Skin.HasSetting(ClockShowSeconds)">CPUTemp</include>
<include condition="Skin.HasSetting(ClockShowSeconds)">ClockSeconds</include>
<include>Window_OpenClose_Animation</include>
[...]
</control>
which caused that I see CPU Temperature on home screen and other screens when navigating Kodi.
So maybe this variable $INFO[System.CPUTemperature] you can use?
Of course this is my guess only as I'm typical noob in application development and programming :-) but wish you success in finding the way how to bring CPU Temperature on your screensaver...
Just after the line:
<include name="ClockDefault"><label>$INFO[System.Time]</label></include>
I have added the new one:
<include name="CPUTemp"><label>CPU Temp: $INFO[System.CPUTemperature]</label></include>
Then below made a copy-paste the following section:
<control type="label" id="1">
<description>time label</description>
<right>20</right>
<top>5</top>
<width>200</width>
<height>30</height>
<align>right</align>
<aligny>center</aligny>
<font>font28_title</font>
<textcolor>gray</textcolor>
<shadowcolor>black</shadowcolor>
<include condition="!Skin.HasSetting(ClockShowSeconds)">ClockDefault</include>
<include condition="Skin.HasSetting(ClockShowSeconds)">ClockSeconds</include>
<include>Window_OpenClose_Animation</include>
[.....]
</control>
and added:
<control type="label" id="1">
<description>CPU Temp label</description>
<right>20</right>
<top>48</top>
<width>200</width>
<height>30</height>
<align>right</align>
<aligny>center</aligny>
<font>font27_title</font>
<textcolor>yellow</textcolor>
<shadowcolor>black</shadowcolor>
<include condition="!Skin.HasSetting(ClockShowSeconds)">CPUTemp</include>
<include condition="Skin.HasSetting(ClockShowSeconds)">ClockSeconds</include>
<include>Window_OpenClose_Animation</include>
[...]
</control>
which caused that I see CPU Temperature on home screen and other screens when navigating Kodi.
So maybe this variable $INFO[System.CPUTemperature] you can use?
Of course this is my guess only as I'm typical noob in application development and programming :-) but wish you success in finding the way how to bring CPU Temperature on your screensaver...