2021-07-27, 00:37
Hello all,
I am trying to show a different startup image, but I am not having any luck. Even though the image I am referencing exists, the default startup image is always displayed. Here is the code for my startup.xml:
Perhaps one of you could point out what am I missing here? Any help will be greatly appreciated.
Regards,
Bart
I am trying to show a different startup image, but I am not having any luck. Even though the image I am referencing exists, the default startup image is always displayed. Here is the code for my startup.xml:
xml:
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">12</defaultcontrol>
<onload condition="System.HasAddon(script.skin.info.service)">RunScript(script.skin.info.service)</onload>
<onload condition="Skin.HasSetting(Enable.TMDbHelper)">Skin.SetBool(TMDbHelper.Service)</onload>
<onload condition="!Skin.HasSetting(Enable.TMDbHelper)">Skin.Reset(TMDbHelper.Service)</onload>
<onload condition="Skin.HasSetting(Enable.BlurredVideoInfo) + Skin.HasSetting(Enable.TMDbHelper)">Skin.SetBool(TMDbHelper.EnableBlur)</onload>
<onload condition="Skin.HasSetting(MatchPosterColors) + Skin.HasSetting(Enable.TMDbHelper)">Skin.SetBool(TMDbHelper.EnableColors)</onload>
<onload condition="Skin.HasSetting(MatchPosterColors) + Skin.HasSetting(Enable.TMDbHelper)">SetProperty(TMDbHelper.Colors.SourceImage,poster,Home)</onload>
<onload condition="Skin.HasSetting(MatchPosterColors) + Skin.HasSetting(Enable.TMDbHelper)">Skin.SetString(TMDbHelper.Colors.Luminance,0.75)</onload>
<onload condition="Skin.HasSetting(MatchPosterColors) + Skin.HasSetting(Enable.TMDbHelper)">Skin.SetString(TMDbHelper.Colors.Saturation,0.75)</onload>
<onload condition="System.HasAddon(script.artistslideshow)">RunScript(script.artistslideshow, daemon=True)</onload>
<onload condition="String.IsEmpty(Skin.String(OSDExtraArt))">Skin.SetString(OSDExtraArt,none)</onload>
<controls>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<aspectratio>scale</aspectratio>
<texture>special://skin/backgrounds/intro/default1.jpg</texture>
</control>
<control type="button" id="12">
<include>HiddenButton</include>
<onfocus condition="!Skin.HasSetting(StartupPlaylist)">PlayMedia($ESCINFO[Skin.String(StartupPlaylist)])</onfocus>
<onfocus>ReplaceWindow($INFO[System.StartupWindow])</onfocus>
</control>
</controls>
</window>
Perhaps one of you could point out what am I missing here? Any help will be greatly appreciated.
Regards,
Bart