Numbers of script in Home.xml through <onload>

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Balinus Offline
Skilled Skinner
Posts: 1,044
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #1
Hello!

I'd like to know if loading many script ("only" 3 so far) is detrimental to the overall performance of the Home screen (or more broadly to the whole skin)? Here, it doesn't, but my machines are not at the lower end spectrum of performance. I'm more asking maybe if that slows down a lot for Atom based HTPC..?

The scripts are "next.aired", "watchlist" and "randomitems".

Another question... as a rule of thumb, what's your personal maximum?

Thanks!
find quote
Martijn Offline
Team-XBMC
Posts: 7,787
Joined: Jul 2011
Reputation: 116
Location: Dawn of time
Post: #2
In short yes it does decrease performance.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Balinus Offline
Skilled Skinner
Posts: 1,044
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #3
ok, thanks!

I wonder how much it decrease though. Do you have any rough idea?
find quote
pecinko Offline
Member+
Posts: 3,068
Joined: Dec 2008
Reputation: 29
Location: Prague / Belgrade
Post: #4
It depends on device and type of DB used. You are fine with those 3 there should be no problem Smile

My skins:

Quartz
Amber
find quote
Balinus Offline
Skilled Skinner
Posts: 1,044
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #5
ok, thanks!
find quote
butchabay Offline
Skilled Skinner
Posts: 3,444
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #6
Better would be starting Watchlist Script in startup.xml and Not in home.xml
find quote
pecinko Offline
Member+
Posts: 3,068
Joined: Dec 2008
Reputation: 29
Location: Prague / Belgrade
Post: #7
Would it work after skin switch if started from startup?

My skins:

Quartz
Amber
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #8
(2012-04-20 19:47)butchabay Wrote:  Better would be starting Watchlist Script in startup.xml and Not in home.xml

Only problem with that is if the user has their HTPC on 24/7 and switches skins.

[Image: sig_zps3af3b48e.jpg]
find quote
pieh Offline
Team-XBMC Member
Posts: 672
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #9
(2012-04-20 20:08)Hitcher Wrote:  Only problem with that is if the user has their HTPC on 24/7 and switches skins.
You can use builtin AlarmClock with loop and silent parameters and run watchlist every 2 hours - chech deatails at http://wiki.xbmc.org/index.php?title=Lis..._functions

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
find quote
butchabay Offline
Skilled Skinner
Posts: 3,444
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #10
Doesn't matter, because once the script is started at startup, after watching an episode or stop a movie the script updates your db status. So if the script is running 24/7 shouldn't be a problem, or am i wrong?

Ok switching skin is a problem in this case, but to be honest it doesn't make sense switching skin every day Smile else restarting the skin isn't that hard.

At the end what you suggest home.xml or startup.xml ? Makes any difference loading it on home? I mean regarding performance ...

Thanx
find quote
Post Reply