diff --git a/resources/lib/library.py b/resources/lib/library.py index 17b936ac..ed7d8ffa 100755 --- a/resources/lib/library.py +++ b/resources/lib/library.py @@ -1322,7 +1322,6 @@ def addons( self ): if item['enabled'] == True: path = "RunAddOn(" + item['addonid'].encode('utf-8') + ")" action = None - thumb = "DefaultAddon.png" if item['thumbnail'] != "": thumb = item[ 'thumbnail' ] @@ -1387,7 +1386,12 @@ def hasPluginEntryPoint( self, path ): if provides is None: return None return provides.text.split( " " ) - + elif "point" in extension.attrib and extension.attrib.get( "point" ) == "xbmc.python.script": + # Script entry points should be treated as executable + provides = extension.find( "provides" ) + if provides is None: + return None + return provides.text.split( " " ) except: return None diff --git a/resources/shortcuts/overrides.xml b/resources/shortcuts/overrides.xml index 863fdaca..fd76f9fc 100755 --- a/resources/shortcuts/overrides.xml +++ b/resources/shortcuts/overrides.xml @@ -93,6 +93,10 @@ + + + ||BROWSE||script.skin.helper.service/?action=smartshortcuts + common @@ -178,7 +182,10 @@ - widgets + + ||BROWSE||script.skin.helper.service/?action=widgets&path=skinplaylists,librarydataprovider,scriptwidgets,extendedinfo,smartshortcuts,pvr,smartishwidgets + + widgets video