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.
For some time now I have often that Kodi hangs at the startup. When this happens Kodi is not usable with most things. Addons won't start and the only thing I can do is kill Kodi and restart and hope it goes better. Kodi keeps saying it is busy (see screenshot)
Most of the times the second start is better and is Kodi fully usable.

I have tested by disabling several addons to see if it happens with that addon deactivated. The skin helper widgets addon seems to be the one causing this. I have had this addon disabled for three days and in those three days it did not happen once.
With the skin helper widgets addon this happens sometimes multiples times a day when Kodi starts.

I only use the skin helper widgets for my PVR widget because there is no Kodi widget for it.
I hope this can be looked into.

https://paste.kodi.tv/kijohavonu.kodi

Image

Thanks.
You use code
Code:
http://localhost:52307/getpvrthumb&title=$ESCINFO[Listitem.Title]&type=poster
this code is too heavy for list, search all info and art for that name.
try with simple
Code:
http://localhost:52307/getthumb&title=$ESCINFO[Listitem.Title]
Okay, Where do I set this line?
I only set some settings that were available in skin helper widgets settings.

Thanks.
Under my Kodi v18 beta3 install my skin fetches the script.skin.helper.service (version 1.1.3) here. After it's successfully installed, I get the following error message in my Kodi log every time (on every startup or every instance where the skin.helper.service is accessed):

xml:
14:32:29.172 T:15664   DEBUG: FreeVisualisation() done
14:32:29.533 T:11016   DEBUG: CAddonSettings[script.module.metadatautils]: loading setting definitions
14:32:29.533 T:11016   DEBUG: CAddonSettings[script.module.metadatautils]: trying to load setting definitions from old format...
14:32:29.545 T:11016   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: cannot import name extend_dict
                                            Traceback (most recent call last):
                                              File "C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\service.py", line 10, in <module>
                                                from resources.lib.main_service import MainService
                                              File "C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\main_service.py", line 13, in <module>
                                                from listitem_monitor import ListItemMonitor
                                              File "C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\listitem_monitor.py", line 13, in <module>
                                                from metadatautils import extend_dict, process_method_on_list
                                            ImportError: cannot import name extend_dict
                                            -->End of Python script error report<--
14:32:29.545 T:11016   DEBUG: CPythonInvoker::onExecutionDone(11, C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\service.py)
14:32:29.548 T:11016    INFO: Python interpreter stopped
14:32:29.548 T:11016   DEBUG: Thread LanguageInvoker 11016 terminating

Any idea what is going on? The script is basically unusable like this.
Same problem.  Every start I get the same error both on 17.6 for android and 18 for Xbox using titan mod skin
Can anyone point me in the right direction?

I'm trying to implement the Alphabet Jump and Auto-Close OSD into Artic Zephyr.

Tried following the TITAN code but keep getting stumped.
Hey guys!

Like some of you I've had issues with the Skin Helper Service not working on UWP platforms. The good news is that I was actually able to fix this by removing the import from cheroot in the cherrypy addon dependency. The interesting thing is that this is needed to prevent socket inheritance but there was actually a catch where it instead made a dummy function. This somehow didn't work out for the add-on so I'm forcing that instead.

You can get the zip file here: https://github.com/TheTimeWalker/script....master.zip
Just overwrite the current cherrypy installation with that and there should be no error on boot
(2018-10-28, 15:41)Wuschel Wrote: [ -> ]Under my Kodi v18 beta3 install my skin fetches the script.skin.helper.service (version 1.1.3) here. After it's successfully installed, I get the following error message in my Kodi log every time (on every startup or every instance where the skin.helper.service is accessed):

xml:
14:32:29.172 T:15664   DEBUG: FreeVisualisation() done
14:32:29.533 T:11016   DEBUG: CAddonSettings[script.module.metadatautils]: loading setting definitions
14:32:29.533 T:11016   DEBUG: CAddonSettings[script.module.metadatautils]: trying to load setting definitions from old format...
14:32:29.545 T:11016   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: cannot import name extend_dict
                                            Traceback (most recent call last):
                                              File "C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\service.py", line 10, in <module>
                                                from resources.lib.main_service import MainService
                                              File "C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\main_service.py", line 13, in <module>
                                                from listitem_monitor import ListItemMonitor
                                              File "C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\listitem_monitor.py", line 13, in <module>
                                                from metadatautils import extend_dict, process_method_on_list
                                            ImportError: cannot import name extend_dict
                                            -->End of Python script error report<--
14:32:29.545 T:11016   DEBUG: CPythonInvoker::onExecutionDone(11, C:\Users\...\AppData\Roaming\Kodi\addons\script.skin.helper.service\service.py)
14:32:29.548 T:11016    INFO: Python interpreter stopped
14:32:29.548 T:11016   DEBUG: Thread LanguageInvoker 11016 terminating

Any idea what is going on? The script is basically unusable like this.
 Whats the source of v 1.1.3 ? 

marcelveldts official/beta repo version is 1.1.24 (latest)


try  this non official for leia.(updated version for leia) changelog


or install marcelveldts beta repo and install from there
I have v1.0.38 of script.skin.helper.widgets installed on Leia Beta 5. I'm trying to activate the recent album widget but it is not working. However, the recent artist and track widgets work just fine.

Here's a snippet from my log when I try to activate the album widget.
I've dabbled a bit with the Skin Helper Service and I've went and took some time to update the CherryPy dependency for this add-on to make it more future proof, especially with Kodi M" v19 someday only being Python 3 compatible. This bumps up the dependency from 11.0.0 to 17.4.0.

For people that have issues with "ctypes error" on UWP:

I've built up an always available link here: https://github.com/TheTimeWalker/script....ve/v11.zip
Just install that and the skin helper works perfectly fine on UWP (don't use the link from my older post)

If you're somebody that is ready to try out the updated version:

Get the latest ZIP of CherryPy module here: https://github.com/TheTimeWalker/script....ag/v17.4.0
Update Skin Helper with this ZIP: https://github.com/TheTimeWalker/script....unofficial
This is important as I had to remove a deprecated feature of CherryPy so using a newer dependency breaks older versions of Skin Helper Service.
I've also went on and put in the open pull requests from the official repos
(2018-11-18, 17:38)TheTimeWalker Wrote: [ -> ]I've dabbled a bit with the Skin Helper Service and I've went and took some time to update the CherryPy dependency for this add-on to make it more future proof, especially with Kodi M" v19 someday only being Python 3 compatible. This bumps up the dependency from 11.0.0 to 17.4.0.

For people that have issues with "ctypes error" on UWP:

I've built up an always available link here: https://github.com/TheTimeWalker/script....ve/v11.zip
Just install that and the skin helper works perfectly fine on UWP (don't use the link from my older post)

If you're somebody that is ready to try out the updated version:

Get the latest ZIP of CherryPy module here: https://github.com/TheTimeWalker/script....ag/v17.4.0
Update Skin Helper with this ZIP: https://github.com/TheTimeWalker/script....unofficial
This is important as I had to remove a deprecated feature of CherryPy so using a newer dependency breaks older versions of Skin Helper Service.
I've also went on and put in the open pull requests from the official repos
 I did an PR on git, if you wana want use it in LEIA you should also update boolean conditions.If not some functions of the helper will not working.
( IsEmpty -> String.IsEmpty ; booth working in Krypton, just String.Is*** working in Leia)

https://github.com/TheTimeWalker/script....ice/pull/1

Source / KODI PR
Thanks mardukL for the PR. I merged it a few days ago but had to fix something else on CherryPy dependency before packing this into a zip

Skin Helper 1.1.26 unofficial with Leia support is here: https://github.com/TheTimeWalker/script....unofficial
Also new CherryPy v17.4.0 hotfix which fixes Android error: https://github.com/TheTimeWalker/script....hotfix%231
Does this still work for Jarvis?
I don't know why, but every time I try to install skin.helper.service my Kodi 18 Leia RC2 (32 bits) on Android crashes. Only way to run Kodi again is deleting the folder from addon_data.

Last two lines in logfile don't give any important info:

14:02:45.501 T:18446744072669354352  NOTICE: Skin Helper Service --> Starting WebService on port 52307
14:02:45.503 T:18446744072782117232  NOTICE: Skin Helper Service --> Skin Helper Service version 1.1.26~alpha started

After that, Kodi crashes.

I've installed both the "official" skin.helper.service and skin.helper.service alpha with same result. There's another one, skin.helper.service unofficial, but can't install because of missing dependencies...

Could somebody help me, please? i'm trying to install the skin I'm used to (TITAN) and I'm a bit lost with this error.

Thanks in advance!!! Smile
(2018-11-28, 15:08)tiku100 Wrote: [ -> ]I don't know why, but every time I try to install skin.helper.service my Kodi 18 Leia RC2 (32 bits) on Android crashes. Only way to run Kodi again is deleting the folder from addon_data.

Last two lines in logfile don't give any important info:

14:02:45.501 T:18446744072669354352  NOTICE: Skin Helper Service --> Starting WebService on port 52307
14:02:45.503 T:18446744072782117232  NOTICE: Skin Helper Service --> Skin Helper Service version 1.1.26~alpha started
You have all future version Smile

SHS
version is 1.1.24
https://github.com/marcelveldt/script.sk.../addon.xml

Kodi
version of Kodi nightis is Kodi 18 Leia RC1
http://mirrors.kodi.tv/releases/android/arm/