Background for wrtkaidcommander script
#1
i have been using this script by zodiac to control the kaid engine from within xbmc.  it appears to work okay even with the latest and greatest cvs, but running this script on the pm3 skin shows a generic background with the title "add album", which is completely unrelated to what this script does.

although the background is not specified in the script, the "title" above the buttons is called by the command dlgoptions.select('wrt commander', optionlist).
 so normally, you would see "wrt commander" at the top of the screen with a generic background -- and this works well on the previous pm/pm2 skins, but not pm3.

as i have almost no knowledge of python, i was wondering if anybody had a quick and easy fix to this aesthetics problem or is willing to re-code the script to take full advantage of the latest xbmc cvs.

i've already sent a brief note to the author regarding this, but i was wondering if anybody here can help as well.

thanks.
bric
Reply
#2
you need to give it a window class and then you could change the background easy enough.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#3
like i said, i am new at python.  tried adding a window class (taking hints from other scripts), but i always end up with the window/background showing only after i exit the script.  i have no clue where to add the window class so that the background shows up while the dialog optionlist is being displayed.

help!

bric
Reply
#4
what router firmware are you using?

i could send you my changes, but it may not work with firmware other than alchemy 1.0 final.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#5
nuka,

i have alchemy 6 rc6a.  i'd like to take a look at your revisions, if that's ok with you.  i can always keep the original router commands (assuming you changed those) and only use the code for the display/window.

thanks.
bric
Reply
#6
ok, pm me your e-mail and i'll send it.

the main script is z0diac's code, so it should work with alchemy, satori and hyperwrt.

the new things that may not, are checking the status of kaid on the router (installed, running). the other minor additions should work.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#7
nuka,

sent you pm. many thanks for the help.

bric
Reply

Logout Mark Read Team Forum Stats Members Help
Background for wrtkaidcommander script0