Hello,
Currently xbian config generates the window xmls... which takes time.
Wouldn't it be an idea to make static xml files for the xbian-config plugin.
This way the plugin doesn't need to generate the windows every time.
Another option is to cache the generated windows.
wrong forum m8,please move to appropriate section under Development / XBian config.
This is for crew to discuss about project as general
-thx-
(30th Jul, 2013 07:01 PM)brantje Wrote: [ -> ]Hello,
Currently xbian config generates the window xmls... which takes time.
Wouldn't it be an idea to make static xml files for the xbian-config plugin.
This way the plugin doesn't need to generate the windows every time.
Another option is to cache the generated windows.
Yes i thought about that,
but if you plug a wlan, change key or something , xml need to be recreated,and don't know for now when it is changed.
the better way is to rewrite all, and use the new settings from xbmc, that need a xml, and maybe use the upstart-file-bridge to adapt the xml when a config file is changed. but it's not the funniest job to do :-)
Well i'm currently working on the xbian skin, so in my spare time i will try to create a window for xbian config.
(30th Jul, 2013 07:44 PM)brantje Wrote: [ -> ]Well i'm currently working on the xbian skin, so in my spare time i will try to create a window for xbian config.
non, don't do that, or it will not multi skin support, and will be not dynamic
it should be better to use standard xbmc one.
you could check my old post here about some info:
http://forum.xbian.org/thread-1029.html
because xbian config gui could be different for each user, different services, packages, etc, and do that with a skin is not easy, it's a bit what i've done, but it's not good.
What about a cron job with a high nice level running every X amount of time to generate the needed XML?
Could add a refresh button to the xbian config section of the skin for manual updates.