Posts: 12,461
Joined: Oct 2014
Reputation:
601
Why do you want to do that?
Posts: 180
Joined: Aug 2016
(2017-01-17, 22:01)tvking1905 Wrote: I am trying to install a skin from an addon, the skin is available from a repository and can be installed manually.
I have tried adding the skin to the addon.xml as follows:
Code:
<requires>
<import addon="skin.mimic" version="5.0.2" />
</requires>
And I have also tried installing it in the addon body as follows:
Code:
xbmc.executebuiltin('InstallAddon(skin.mimic)')
Yet neither way seem to actually install the skin. Any tips ?
Not I see the version number in the Kodi repo is only 3.4.2. I would test with this and see if it is still an issue.
Also make sure you are installing from a zip and not updating the addon directly as it only appears to install extras when installed.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
Why are wanting to do this? Provide some "build"?
Posts: 14
Joined: Jan 2014
Reputation:
0
So it turns out the depends for an addon are installed when the addon is installed from the repo.
As I was just editing the addon directly in my home folder, it never noticed I added the skin as an import! Doh!
Problem solved!
Posts: 180
Joined: Aug 2016
(2017-01-19, 00:07)tvking1905 Wrote: So it turns out the depends for an addon are installed when the addon is installed from the repo.
As I was just editing the addon directly in my home folder, it never noticed I added the skin as an import! Doh!
Problem solved!
I mentioned this in my original response that dependencies do not install if you are just editing the source. You must install via a zip or in your example a repo. If you bypass the installer only your addon installs.