Posts: 729
Joined: Jun 2018
Reputation:
135
2019-03-04, 15:01
(This post was last modified: 2019-03-04, 15:02 by cartman.dos.)
Since UWP doesn't allow for the cherrypy python module, I adjusted Skin Helper code to except import error for cherrypy and tick off the use of its Webservice.
Only problem is in the addon.xml under <requires> I want to exclude cherrypy import for UWP, there's already the System.Platform.UWP Bool but is it possible to use it in the addon.xml?
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
i don't think i fully understand the problem?
why would a skin need to import the cherrypy module? that should be done by the skin helper addon, no?
Posts: 296
Joined: Nov 2014
Reputation:
10
2019-03-04, 16:59
(This post was last modified: 2019-03-04, 17:04 by angelblue05.)
Are you sure you can’t use the cherrypy module? What happens if you include it within your add-on package?
I ask because I’m fairly sure, when I was testing this module, granted it wasn’t added as a dependency but rather included within my test add-on, it did work. There is a modded cherrypy version, forked from marcelveldt’s cherrypy package for Kodi, that was modded to run without the packages that do not work on UWP and Android.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
ok, so skin helper imports cherrypy and gracefully handles the import exception.
so what problem remains?
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
i'm sorry, still not able to understand the problem... perhaps someone else can help you out.