Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
Probably easily done with an auto run script at the start but you would still notice it reloading
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
Couldn't the script just change a skin setting.
If the skin was designed right. Then it should be seemless.
Posts: 975
Joined: Apr 2007
Reputation:
-10
hmmm pretty interesting idea. What would be nice would be to have the colours fade from one to the other, instead of a quick snap change?
Possibilities for the future, perhaps?
Posts: 489
Joined: Apr 2004
Reputation:
13
Freddo
Skilled Skinner
Posts: 489
or make time a visability condition, that'd do it, and the skin could change in realtime too.
Posts: 975
Joined: Apr 2007
Reputation:
-10
this would be such a great interactive function of the skin...probably something that no-one else does.
I hope a coding brain can get round this?
Posts: 10,520
Joined: Sep 2003
Reputation:
10
Gamester17
Team-XBMC Forum Moderator
Posts: 10,520
if JM or someone implements something like this then hope it gets added via the Built In Functions API (xbmc/Util.cpp) and/or the HTTP API (xbmc/lib/libGoAhead/XBMChttp.cpp) so not only skinners could use it but python and web-interface scripters can use it as well
Posts: 975
Joined: Apr 2007
Reputation:
-10
it would be especially good for skins that have total colour changes, as opposed to just elements that change colour, such as buttons, etc.
Mntz is right about looking at skins, such as Zest, clearity, etc because it is feasible to create different colour schemes easily for them which would work in conjunction with the time-fade
Posts: 10,520
Joined: Sep 2003
Reputation:
10
Gamester17
Team-XBMC Forum Moderator
Posts: 10,520
2007-07-19, 14:20
...just 'simple' colordefuse and fading transitions based on time-of-day and/or weather would also be nice IMHO
Posts: 928
Joined: Feb 2004
Reputation:
0
Asteron
"Skilled" Python Coder
Posts: 928
2007-07-19, 19:28
(This post was last modified: 2007-07-19, 19:32 by Asteron.)
Im pretty sure this can be done right now with multiple images with diffferent visibility conditions (same fading animation) along with a python script that runs on a timer that manages the skin settings. Even changing font colors could be done by fading between overlapping label controls (with only one visible at a time).
Might not be the most memory efficient though... and the skin xmls would get alot bigger (mostly copy and paste). If an image control is completely faded out does it still take memory?
I'm not sure if its possible for a skin to start a script at startup... anyone know?
Posts: 36
Joined: Mar 2006
Reputation:
0
I think this sounds like a really interesting idea. Having XBMC change the hue/color of skin elements based on time would be really cool.. I leave my Xbox on most of the time and it'd be really neat to see some of the skin elements change throughout the day.
Other cool possibilities related to this idea:
Hard drive space color change based on amount of free space in file manager [or better yet, have files that are large be brighter than those that are smaller]
List of movies could change color (or brightness) based on rating [movies with a higher rating would be brighter than those with lower ratings]
I just thought I'd throw some ideas out, I'm really excited to see where this goes. Keep up the good work guys!
James
Posts: 928
Joined: Feb 2004
Reputation:
0
Asteron
"Skilled" Python Coder
Posts: 928
Actually the cleanest/easiest way to do this is to have a new visibility condition that takes a time/date range as an argument.