• 1
  • 300
  • 301
  • 302(current)
  • 303
  • 304
  • 309
Release skin helper service
i've noticed these errors happen when i exist a playlist and kodi crashes. Any assistance is appreciated

Code:

2022-09-24 12:26:54.083 T:8160  WARNING <general>: Skin Helper Service --> Exception details: Type: KeyError Value: 'art' Traceback: Traceback (most recent call last):
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 52, in onNotification
                                                       self.process_db_update(mediatype, dbid, transaction)
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 109, in process_db_update
                                                       self.metadatautils.get_music_artwork(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\metadatautils.py", line 57, in get_music_artwork
                                                       return self.musicart.get_music_artwork(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 49, in get_music_artwork
                                                       artist_details = self.get_artists_metadata(artists, album, track,
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 100, in get_artists_metadata
                                                       artist_details = self.get_artist_metadata(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 227, in get_artist_metadata
                                                       if details["art"].get("thumb"):
                                                   KeyError: 'art'
Code:
2022-09-24 12:27:25.640 T:8160  WARNING <general>: Skin Helper Service --> Exception details: Type: KeyError Value: 'art' Traceback: Traceback (most recent call last):
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 52, in onNotification
                                                       self.process_db_update(mediatype, dbid, transaction)
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 109, in process_db_update
                                                       self.metadatautils.get_music_artwork(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\metadatautils.py", line 57, in get_music_artwork
                                                       return self.musicart.get_music_artwork(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 49, in get_music_artwork
                                                       artist_details = self.get_artists_metadata(artists, album, track,
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 100, in get_artists_metadata
                                                       artist_details = self.get_artist_metadata(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 227, in get_artist_metadata
                                                       if details["art"].get("thumb"):
                                                   KeyError: 'art
Code:

2022-09-24 12:30:58.093 T:8160  WARNING <general>: Skin Helper Service --> Exception details: Type: KeyError Value: 'art' Traceback: Traceback (most recent call last):
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 52, in onNotification
                                                       self.process_db_update(mediatype, dbid, transaction)
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 109, in process_db_update
                                                       self.metadatautils.get_music_artwork(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\metadatautils.py", line 57, in get_music_artwork
                                                       return self.musicart.get_music_artwork(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 49, in get_music_artwork
                                                       artist_details = self.get_artists_metadata(artists, album, track,
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 100, in get_artists_metadata
                                                       artist_details = self.get_artist_metadata(
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.module.metadatautils\lib\helpers\musicartwork.py", line 227, in get_artist_metadata
                                                       if details["art"].get("thumb"):
                                                   KeyError: 'art'
                                                   

*update* And another error occured. This particular instance I've simply just had Kodi running, not playing anything or moving throughout menus, just crashes and this is what i've seen in the logs afterwards. 

Code:

2022-09-26 19:24:14.010 T:15104   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'SystemExit'>
                                                   Traceback (most recent call last):
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 64, in onNotification
                                                       if self.wait_for_player():
                                                     File "D:\Kodi\Kodi\portable_data\addons\script.skin.helper.service\resources\lib\kodi_monitor.py", line 143, in wait_for_player
                                                       xbmc.sleep(100)
                                                   SystemExit
                                                   -->End of Python script error report<--
Kodi ver.19.1  Aeon MQ 8 Matrix Mod Windows 10 
Reply
Skin Help Service is incompatible with 19.2 -19.4 Matrix it cause a infinite number of Kodis to open on Mac OSX, https://paste.kodi.tv/ikaqehakuk.kodi 

https://github.com/kodi-community-addons...1.1.43.zip
Reply
@Angelinas Skin Help Service is incompatible with 19.2 -19.4 Matrix it cause a infinite number of Kodis to open on Mac OSX, https://paste.kodi.tv/ikaqehakuk.kodi 

https://github.com/kodi-community-addons...1.1.43.zip
Reply
@Ismadder1
 
Code:
2022-10-18 13:11:35.576 T:79049 INFO <general>: CAddonMgr::FindAddons: script.module.metadatautils v1.0.44 installed
2022-10-18 13:11:35.578 T:79049 INFO <general>: CAddonMgr::FindAddons: script.skin.helper.service v1.1.40 installed
this addon are old.....

latest
script.module.metadatautils v1.0.50
script.skin.helper.service v1.1.43
need to install repository.marcelveldt and update addon except script.module.thetvdb (reported some isue)

https://github.com/kodi-community-addons...-1.0.3.zip
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
(2022-09-24, 19:37)Shredder_guitar Wrote: i've noticed these errors happen when i exist a playlist and kodi crashes. Any assistance is appreciated
remove this 2 line
https://github.com/kodi-community-addons...rk.py#L227
https://github.com/kodi-community-addons...rk.py#L228
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
Is anybody using SkinHelper.Player.Rating?

I have this working on my PVR OSD Info Panel, but I've noticed the rating doesn't appear when channel is first opened. I have to switch channel, then switch back before rating is displayed.
I suspect this why the rating is not being displayed on the Info Panel for a couple of TV Catch-up addons I use.
If anybody has any tips on how I might be able to fix this so that rating(s) for player items display immediately when playback is started, it would be much appreciated.
Cheers
Reply
has anybody found out why this causes problems on osx 19.2 upwards yet it opens kodi infinity number of times
Reply
Hello,

i am using the colorpicker addon (2.0.1) in AZ:R skin, but in kodi nexus, i get the following error:

xml:
2022-11-16 12:54:24.791 T:13048   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'xbmc' has no attribute 'translatePath'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\standard\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\default.py", line 7, in <module>
                                                       import resources.lib.ColorPicker as cp
                                                     File "C:\Users\standard\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\resources\lib\ColorPicker.py", line 15, in <module>
                                                       COLORFILES_PATH = xbmc.translatePath("special://profile/addon_data/%s/colors/" % ADDON_ID)
                                                   AttributeError: module 'xbmc' has no attribute 'translatePath'
                                                   -->End of Python script error report<--

Is there any chance, that this gets fixed in the official nexus repo?

Thanks Smile
Reply
I would like to fetch the movie cast in a movie viewtype. The cast is stored in the XML of the video, with <actor> and  subtags for name,  role and thumbnail. 
I find the following: https://github.com/sualfred/script.embua...t#get-cast
How do I actually use a plugin like that?

In my variables I have   <variable name="EmbuaryCast"> <value>plugin://script.embuary.helper?info=getcast&type=movie&dbid=$INFO[ListItem.DBID]</value>
In View_502_FanArt.xml I have <control type="textbox"> <label>$VAR[EmbuaryCast]</label>
This just displays the text "plugin://script.embuary.helper?info=getcast&type=movie&dbid=$INFO[ListItem.DBID]" instead of running the script.
Reply
(2022-11-16, 14:13)beatmasterrs Wrote: Hello,

i am using the colorpicker addon (2.0.1) in AZ:R skin, but in kodi nexus, i get the following error:

xml:
2022-11-16 12:54:24.791 T:13048   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'xbmc' has no attribute 'translatePath'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\standard\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\default.py", line 7, in <module>
                                                       import resources.lib.ColorPicker as cp
                                                     File "C:\Users\standard\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\resources\lib\ColorPicker.py", line 15, in <module>
                                                       COLORFILES_PATH = xbmc.translatePath("special://profile/addon_data/%s/colors/" % ADDON_ID)
                                                   AttributeError: module 'xbmc' has no attribute 'translatePath'
                                                   -->End of Python script error report<--

Is there any chance, that this gets fixed in the official nexus repo?

Thanks Smile


replace lines 15, 16, and 17 with

COLORFILES_PATH = xbmcvfs.translatePath("special://profile/addon_data/%s/colors/" % ADDON_ID)
SKINCOLORFILES_PATH = xbmcvfs.translatePath("special://profile/addon_data/%s/colors/" % xbmc.getSkinDir())
SKINCOLORFILE = xbmcvfs.translatePath("special://skin/extras/colors/colors.xml")

only need to change xbmc.translatePath to xbmcfvs.translatePath, will solve.
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
API thetvdb quick fix...
https://github.com/kodi-community-addons...6c080f9a62

New version
https://github.com/kodi-community-addons...master.zip
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
@Wanilton I have the exact same error using v21.

Code:
023-01-12 08:36:41.308 T:12196   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'xbmc' has no attribute 'translatePath'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\DAN\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\default.py", line 7, in <module>
                                                       import resources.lib.ColorPicker as cp
                                                     File "C:\Users\DAN\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\resources\lib\ColorPicker.py", line 15, in <module>
                                                       COLORFILES_PATH = xbmc.translatePath("special://profile/addon_data/%s/colors/" % ADDON_ID)
                                                   AttributeError: module 'xbmc' has no attribute 'translatePath'
                                                   -->End of Python script error report<--

I think my default.py might be different though because I don't see where to make your edits:

Code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

import xbmc
import xbmcaddon
import xbmcgui
import resources.lib.ColorPicker as cp

ADDON_ID = "script.skin.helper.colorpicker"
ADDON = xbmcaddon.Addon(ADDON_ID)
ADDON_PATH = ADDON.getAddonInfo('path')
MONITOR = xbmc.Monitor()

class Main(object):
    '''Main entrypoint for our colorpicker'''
    def __init__(self):
        params = self.get_params()
        if params:
            color_picker = cp.ColorPicker("script-skin_helper_service-ColorPicker.xml", ADDON_PATH, "Default", "1080i")
            color_picker.skinstring = params.get("SKINSTRING","")
            color_picker.win_property = params.get("WINPROPERTY","")
            color_picker.active_palette = params.get("PALETTE","")
            color_picker.header_label = params.get("HEADER","")
            propname = params.get("SHORTCUTPROPERTY","")
            color_picker.shortcut_property = propname
            color_picker.doModal()

            #special action when we want to set our chosen color into a skinshortcuts property
            if propname and not isinstance(color_picker.result, int):
                self.wait_for_skinshortcuts_window()
                xbmc.sleep(400)
                current_window = xbmcgui.Window( xbmcgui.getCurrentWindowDialogId() )
                current_window.setProperty("customProperty", propname)
                current_window.setProperty("customValue",color_picker.result[0])
                xbmc.executebuiltin("SendClick(404)")
                xbmc.sleep(250)
                current_window.setProperty("customProperty", "%s.name" %propname)
                current_window.setProperty("customValue",color_picker.result[1])
                xbmc.executebuiltin("SendClick(404)")
            del color_picker

    @staticmethod
    def get_params():
        '''extract the params from the called script path'''
        params = {}
        for arg in sys.argv:
            if arg == 'script.skin.helper.colorpicker' or arg == 'default.py':
                continue
            elif "=" in arg:
                paramname = arg.split('=')[0]
                paramvalue = arg.replace(paramname+"=","")
                params[paramname] = paramvalue
                params[paramname.upper()] = paramvalue
        return params

    @staticmethod
    def wait_for_skinshortcuts_window():
        '''wait untill skinshortcuts is active window (because of any animations that may have been applied)'''
        while not MONITOR.abortRequested() and not xbmc.getCondVisibility("Window.IsActive(DialogSelect.xml) | \
                Window.IsActive(script-skin_helper_service-ColorPicker.xml) | Window.IsActive(DialogKeyboard.xml)"):
            MONITOR.waitForAbort(0.1)


#MAIN ENTRY POINT
if __name__ == "__main__":
    Main()

Can you help me understand please.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
wrong file.....read your log

File "C:\Users\DAN\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\resources\lib\ColorPicker.py"

line 15
 COLORFILES_PATH = xbmc.translatePath("special://profile/addon_data
______________________________________________________________________________________________
replace lines 15, 16, and 17 with

COLORFILES_PATH = xbmcvfs.translatePath("special://profile/addon_data/%s/colors/" % ADDON_ID)
SKINCOLORFILES_PATH = xbmcvfs.translatePath("special://profile/addon_data/%s/colors/" % xbmc.getSkinDir())
SKINCOLORFILE = xbmcvfs.translatePath("special://skin/extras/colors/colors.xml")
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
Missed that  Sleepy
Thank you.
Working now - v21
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
Hello @Angelinas .

I have recently solved this problem:
https://github.com/kodi-community-addons.../issues/20

Change in "script.skin.helper.widgets" pvr.py.

old:
python:
        if not channellogo:
            channellogo = self.metadatautils.get_channellogo(channelname)
        if channellogo:
            item["art"] = {"thumb": channellogo}
new:
python:
        if not channellogo:
            channellogo = self.metadatautils.get_channellogo(channelname)
        if channellogo:
            if not item.get("art"):
                item["art"] = {}
            if not item["art"].get("fanart"):
                item["art"]["fanart"] = channellogo
            if not item["art"].get("thumb"):
                item["art"]["thumb"] = channellogo
Now the landscape widget also shows fanart or landscape. If fanart or landscape is not present the pvr channel logo is shown.
The old behaviour was, if landscape was set then only a squashed poster was shown, if pvrartwork was present.

With my change, this function "pvr_bg_recordingsonly" is now also active in "script.skin.helper.backgrounds".
It made no difference before my change because it only used my tv recordings as the background image and as the "live tile". now the current tv programme is also included.

Now the problem is that pvr channel logos are no longer displayed via "script.skin.helper.widgets" in kodi nexus.
The problem exists with or without my change.

That concerns: "PVR TV Channels widget"
xml:
plugin://script.skin.helper.widgets/?action=channels&mediatype=pvr&reload=$INFO[Window(Home).Property(widgetreload2)]&channelgroup=1


"PVR Latest Recordings widget" works with nexus, pvrartwork and pvr channel logos are displayed:
xml:
plugin://script.skin.helper.widgets/?action=recordings&mediatype=pvr&reload=$INFO[Window(Home).Property(widgetreload2)]

Image

ImageImage
Reply
  • 1
  • 300
  • 301
  • 302(current)
  • 303
  • 304
  • 309

Logout Mark Read Team Forum Stats Members Help
skin helper service18