Kodi Community Forum
5 second hang when launching xbmc... - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
--- Thread: 5 second hang when launching xbmc... (/showthread.php?tid=79096)

Pages: 1 2 3 4


3 second hang when launching xbmc... - liquidskin76 - 2010-08-17

Hi,

When launching xbmc, there appears to be a 3 second hang. It's related to the rss feed as when disabled the hang disappears. When loading Confluence, the hang is visible as the menus are unresponsive during this time.

Is there code to delay the appearance of objects on the home screen?

The reason for asking is that animations hang during this and really noticeable!

Thanks


- Hitcher - 2010-08-17

I delay the Home animations when starting XBMC using condition="Window.Previous(startup)".


- mcborzu - 2010-08-17

Yea I and Galefury noticed this like 3 months ago. Even with a basic 'Empty' skin, that I have no animations in yet, I get that delay. Though 5 seconds seems long, I'd say a solid 1-3 second delay, no matter the skin.

I havent run Alaska much recently but I'll 2x check that one and see...

I'm on W7 BTW...


**EDIT**

THIS was the orginal thread, I was just hoping it clear up on it's own...


- liquidskin76 - 2010-08-17

Hey Hitcher,

Thanks mate. Was going to post that Alaska and Alaska Revisited seem to delay on launch.

Cheers for your help. Wink


- liquidskin76 - 2010-08-17

mcborzu Wrote:Though 5 seconds seems long, I'd say a solid 1-3 second delay, no matter the skin.

Hey mcborzu,

I updated my original post. About 3 seconds is what i see.

Cheers


- Jezz_X - 2010-08-17

yeah I see it too was wondering what caused it myself


- liquidskin76 - 2010-08-17

@Hitcher,

Just been looking at Alaska and Revisited, however i can't find any condition="Window.Previous(startup)" entry anywhere?


- liquidskin76 - 2010-08-17

Definitely rss related as when i remove rss code the problem disappears. Even when in debug mode, the debug readout hangs!


- Arcanthur - 2010-08-17

yeah I get 2-3 second delay myself and it totally kills the opening animations Sad


- Hitcher - 2010-08-17

liquidskin76 Wrote:@Hitcher,

Just been looking at Alaska and Revisited, however i can't find any condition="Window.Previous(startup)" entry anywhere?

Sorry, I should have said I'm currently using them for Welo. Rolleyes

I'm guessing it's a combination of checking the RSS feed, running the 'Recently Added' script (which most of us use) and checking all the installed Add-ons.


- Arcanthur - 2010-08-17

what might be cool is to extend the startup splash screen w/ a progress bar at the bottom and let it say...preloading skin elements and let it load all these animation killers in the background before we actually see the skin. This way it lets the user know something is going on other than seeing a black screen.

just a thought


- Hitcher - 2010-08-17

Or even just show the splash screen until it's ready to go.


- MrLobster - 2010-08-17

Mine hangs on start up because of a dvd being in the drive, and it takes a few seconds to spin up.


- Arcanthur - 2010-08-17

Maybe just something as simple as a <StartupSplash>5</StartupSplash> on the home.xml. The # defined just adds seconds to the slash. Let it be user definable, if not in the skins themselves, then maybe in advancesettings.xml

Now that I think of it, giving the power to the end user would be more beneficial incase thier system is slower, or has extra things slowing down startup, as in dvd in the drive, slower network, etc.


- krish_2k4 - 2010-08-17

^
dont see the harm in adding such a feature