Skip to content

Commit

Permalink
Removed start up scripts
Browse files Browse the repository at this point in the history
Removed a lot of start up scripts from Startup.xml. Aeon Nox now starts
directly to the home screen instead of showing the loading indicator.
Should speed up initial boots.
  • Loading branch information
pathartl committed Jan 26, 2014
1 parent 5ad0941 commit 7c304b6
Showing 1 changed file with 1 addition and 84 deletions.
85 changes: 1 addition & 84 deletions 1080i/Startup.xml
@@ -1,93 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<window>
<defaultcontrol always="true">10</defaultcontrol>
<backgroundcolor>backgroundcolor</backgroundcolor>
<allowoverlay>no</allowoverlay>
<include condition="!Skin.HasSetting(firstrun4.0)">AutoConfig</include>
<onload>RunScript(script.favourites)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + [Substring(Skin.String(widgetlist),xkcd) | Substring(Skin.String(widget2list),xkcd)]">RunScript(script.extendedinfo,info=xkcd)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + Substring(Skin.String(backgroundlist),flickr)">RunScript(script.extendedinfo,info=flickr)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + [Substring(Skin.String(widgetlist),cyanide) | Substring(Skin.String(widget2list),cyanide)]">RunScript(script.extendedinfo,info=cyanide)</onload>
<onload condition="System.HasAddon(script.extendedinfo)">AlarmClock(News,RunScript(script.extendedinfo,info=json,feed=$VAR[NewsFeedVar],prefix=News),00:01,silent)</onload>
<onload condition="Substring(Skin.String(widgetlist),actors) | Substring(Skin.String(widget2list),actors) | Skin.HasSetting(ActorBirthdayRSS)">RunScript(script.metadata.actors,borntoday,10,random)</onload>
<onload condition="Substring(Skin.String(backgroundlist),weatherworldbackground) + System.HasAddon(script.widget.weatherworld)">RunScript(script.widget.weatherworld,time=10&amp;limit=9&amp;mapsize=1920x1080&amp;tilesize=360x60&amp;window=10000&amp;condition=StringCompare(Control.GetLabel(4322),weatherworldbackground))</onload>
<onload condition="Library.HasContent(tvshows)">RunScript(script.tv.show.next.aired,silent=True)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + [Substring(Skin.String(widgetlist),rss1) | Substring(Skin.String(widget2list),rss1)]">RunScript(script.extendedinfo,info=json,feed=$INFO[Skin.String(CustomHomeFeedURL1)],prefix=RSS1)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + [Substring(Skin.String(widgetlist),rss2) | Substring(Skin.String(widget2list),rss2)]">RunScript(script.extendedinfo,info=json,feed=$INFO[Skin.String(CustomHomeFeedURL2)],prefix=RSS2)</onload>
<onload condition="System.HasAddon(script.extendedinfo) + [Substring(Skin.String(widgetlist),rss3) | Substring(Skin.String(widget2list),rss3)]">RunScript(script.extendedinfo,info=json,feed=$INFO[Skin.String(CustomHomeFeedURL3)],prefix=RSS3)</onload>
<!-- <onload condition="System.HasAddon(script.extendedinfo)">AlarmClock(XKCD,RunScript(script.extendedinfo,guiless,feed=http://pipes.yahoo.com/pipes/pipe.run?_id=b3e97cbe0bb1b9ebba8a550b48db6ef5&amp;_render=rss,imagecaching=false,window=10000,limit=8,prefix=XKCD),00:01,silent)</onload>
-->
<onload condition="Substring(Skin.String(widgetlist),recentpics) | Substring(Skin.String(widget2list),recentpics) | Substring(Skin.String(backgroundlist),recentpics)">RunScript(plugin.image.mypicsdb,0,?action='setproperties'&amp;method='Latest'&amp;sort='Added'&amp;limit=10)</onload>
<onload condition="System.HasAddon(plugin.image.mypicsdb)">RunScript(plugin.image.mypicsdb,0,?action='setproperties'&amp;method='Random'&amp;sort='Added'&amp;limit=10)</onload>
<onload condition="Substring(Skin.String(widgetlist),concerts) | Substring(Skin.String(widget2list),concerts)">RunScript(script.extendedinfo,info=NearEvents)</onload>
<onload condition="Substring(Skin.String(widgetlist),roms) | Substring(Skin.String(widget2list),roms)">RunScript(script.games.rom.collection.browser,limit=10)</onload>
<onload condition="skin.hassetting(backendmode)">RunScript(script.extendedinfo,backend=true)</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist1.Call))">$INFO[Skin.String(SmartPlaylist1.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist2.Call))">$INFO[Skin.String(SmartPlaylist2.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist3.Call))">$INFO[Skin.String(SmartPlaylist3.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist4.Call))">$INFO[Skin.String(SmartPlaylist4.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist5.Call))">$INFO[Skin.String(SmartPlaylist5.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist6.Call))">$INFO[Skin.String(SmartPlaylist6.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist7.Call))">$INFO[Skin.String(SmartPlaylist7.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist8.Call))">$INFO[Skin.String(SmartPlaylist8.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist9.Call))">$INFO[Skin.String(SmartPlaylist9.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist10.Call))">$INFO[Skin.String(SmartPlaylist10.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist11.Call))">$INFO[Skin.String(SmartPlaylist11.Call)]</onload>
<onload condition="!IsEmpty(Skin.String(SmartPlaylist12.Call))">$INFO[Skin.String(SmartPlaylist12.Call)]</onload>
<onload condition="System.HasAddon(script.xbmc.intro.movie)">RunScript(script.xbmc.intro.movie)</onload>
<onunload>Skin.SetString(widgetlist,$INFO[Control.GetLabel(11111)])</onunload>
<onunload>Skin.SetString(widget2list,$INFO[Control.GetLabel(11112)])</onunload>
<onunload>Skin.SetString(backgroundlist,$INFO[Control.GetLabel(11113)])</onunload>
<onunload>Skin.SetString(submenulist,$INFO[Control.GetLabel(11114)])</onunload>
<animation type="WindowClose" reversible="false">
<effect type="fade" start="100" end="0" time="0" />
</animation>
<animation type="WindowOpen" reversible="false">
<effect type="fade" end="100" delay="800" time="0" />
</animation>
<controls>
<control type="group">
<animation effect="fade" start="100" end="0" time="0" condition="true">conditional</animation>
<include>InvisibleIncludeLabels</include>
<control type="button" id="10">
<onfocus condition="Skin.HasSetting(Use_Startup_Playlist) + !IsEmpty(Skin.String(Startup_Playlist_Path)) + !SubString(Skin.String(Startup_Playlist_Path),RunScript,left)">PlayMedia($ESCINFO[Skin.String(Startup_Playlist_Path)])</onfocus>
<onfocus condition="Skin.HasSetting(Use_Startup_Playlist) + !IsEmpty(Skin.String(Startup_Playlist_Path)) + SubString(Skin.String(Startup_Playlist_Path),RunScript,left)">$ESCINFO[Skin.String(Startup_Playlist_Path)]</onfocus>
<onfocus condition="!System.HasAddon(script.xbmc.intro.movie)">SetFocus(11)</onfocus>
<onclick>noop</onclick>
</control>
<control type="button" id="11">
<onclick>noop</onclick>
<onfocus>ReplaceWindow(Home)</onfocus>
<animation effect="fade" start="100" end="0" time="3200">Focus</animation>
</control>
</control>
<control type="image">
<texture>common/white.png</texture>
<include>Animation_WindowFade200</include>
<include>FullscreenDimensions</include>
<colordiffuse>black</colordiffuse>
</control>
<control type="image">
<posx>923</posx>
<posy>603</posy>
<width>74</width>
<height>74</height>
<texture>loader.gif</texture>
<colordiffuse>$VAR[ColorDiffuseVar]</colordiffuse>
<animation effect="fade" start="70" time="0" condition="true" pulse="true">Conditional</animation>
</control>
<control type="image">
<posx>704</posx>
<posy>300</posy>
<width>512</width>
<height>180</height>
<aspectratio>keep</aspectratio>
<texture>XBMC_Logo.png</texture>
<colordiffuse>white</colordiffuse>
</control>
<control type="videowindow">
<include>FullscreenDimensions</include>
<visible>Player.HasVideo</visible>
</control>
</controls>
<onload>ReplaceWindow(Home)</onload>
</window>

0 comments on commit 7c304b6

Please sign in to comment.