Kodi Community Forum

Full Version: skin helper service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How's the status for these scripts (same as skin shortcuts and other former Marcel Veldt scripts) concerning migration to python v3? Or are they already running fine under v3?
(2019-10-15, 16:55)Wuschel Wrote: [ -> ]How's the status for these scripts (same as skin shortcuts and other former Marcel Veldt scripts) concerning migration to python v3? Or are they already running fine under v3?

I can only comment on Skin Helper based on what I see on the forums - which is there are at least a couple of versions out there at present, with various fixes in each. I’m not aware, though, of any central place where development of this script is happening, nor if anyone is concentrating on Py3 compatibility.

I can comment more surely with Skin Shortcuts. @mikeSiLVO has stepped up to take on maintenance of this script, including a Py3 test branch (which most likely is going to have loads of unicode issues, which need identifying and help fixing) - see the relevant thread for details.

In both cases, though, as - I suspect - with other scripts Mercelveldt has developed or supported over the years … if people (users, scripters and skinners) want to see these scripts continue to be supported and improved, people are going to need to come together to update, test and improve these scripts in the best traditions of open source software.
Thank you for your reply! That sounds promising...

I'm asking here basically because I've taken over developement of a skin, but I'm not capable of coding besides the xml skin coding "language". So, helping with Python 3 compatability is not something I can do (at least atm), but I'm interested to see how the future of very useful skin functionaility addons looks.
No one is maintaining or porting this addon at the moment.

Alternative:
345471 (thread)

But it doesn't work on Matrix Windows builds yet, because of a missing dependency.
Can you help with this code to set local country to Australia (12H). I'm not sure what I'm dong wrong:
Code:
<control type="button" id="111">
                <description>Australia (12h)</description>
                <top>900</top>
                <height>75</height>
                <left>200</left>
                <width>600</width>
                <onright>101</onright>
                <onleft>100</onleft>
                <align>center</align>
                <label>Australia (12h)</label>
                <font>font37</font>
                 <focusedcolor>white</focusedcolor>
                <textcolor>gray</textcolor>
                <texturefocus colordiffuse="AA8C46B9">lists/focus.png</texturefocus>
                <texturenofocus />
                <onclick>XBMC.RunScript(script.skin.helper.service,action=togglekodisetting,setting=locale.country,value=Australia (12h))</onclick>
                
            </control>
As mentioned above -> The script is not maintained anymore.

It works by using my helper script with this command:
Code:
RunScript(script.embuary.helper,action=setkodisetting,setting=locale.country,value=Australia (12h))