Forum
[IDEA] XBian Config... - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: [IDEA] XBian Config... (/thread-1171.html)



XBian Config... - brantje - 30th Jul, 2013 07:01 PM

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.


Re: XBian Config... - rikardo1979 - 30th Jul, 2013 07:19 PM

wrong forum m8,please move to appropriate section under Development / XBian config.
This is for crew to discuss about project as general
-thx-


RE: XBian Config... - belese - 30th Jul, 2013 07:32 PM

(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 :-)


RE: XBian Config... - brantje - 30th Jul, 2013 07:44 PM

Well i'm currently working on the xbian skin, so in my spare time i will try to create a window for xbian config.


RE: XBian Config... - belese - 30th Jul, 2013 08:02 PM

(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.


RE: XBian Config... - f1vefour - 30th Jul, 2013 11:41 PM

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.