Kodi Community Forum
Animated wallpaper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Metropolis (https://forum.kodi.tv/forumdisplay.php?fid=162)
+---- Thread: Animated wallpaper (/showthread.php?tid=290667)



Animated wallpaper - ziggy73701 - 2016-09-13

Hi @jingai am not sure the best way to get this to you... but... these are the changes required for animated wallpaper support. I have tested this on Kodi 17 Beta 1 and skin build Metropolis 3.4.0rc2. I have only added it to the List Viewtype as am not sure it fits any where else... will leave that to your decision.

Skinsettins.xml

Added at line 699 to script/extras

<control type="image" id="741">
<include>Settings_Line</include>
</control>
<control type="radiobutton" id="742">
<include>SettingsLabel</include>
<label>Animated Posters</label>
<onclick>Skin.ToggleSetting(AnimatedPosters)</onclick>
<selected>Skin.HasSetting(AnimatedPosters)</selected>
</control>
<control type="radiobutton" id="743">
<include>SettingsLabel</include>
<label>Animated Fanart</label>
<onclick>Skin.ToggleSetting(AnimatedFanart)</onclick>
<selected>Skin.HasSetting(AnimatedFanart)</selected>
</control>



Added at line 495 to Viewtype_list.xml

<control type="image">
<posx>17</posx>
<posy>15</posy>
<width>298</width>
<height>428</height>
<texture background="true">$INFO[Window(Home).Property(SkinHelper.AnimatedPoster)]</texture>
<fadetime>100</fadetime>
<texture background="true" fallback="DefaultThumb.png">$VAR[PosterThumb]</texture>
<aspectratio scalediffuse="false">stretch</aspectratio>
<visible>!IsEmpty(ListItem.Title)</visible>
</control>

Added at line 5 to home.xml

<onload>Skin.SetBool(SkinHelper.EnableAnimatedPosters)</onload>


RE: Animated wallpaper - jingai - 2016-09-14

Add support for Skin Helper's Animated Posters.