2022-08-17, 17:39
is it possible to install a addon from a 3rd party repo from within skinsettings?
(2022-08-17, 17:39)spl147 Wrote: is it possible to install a addon from a 3rd party repo from within skinsettings?
xml:<control type="radiobutton" id="323">
<label>PVR Artwork Module $INFO[System.AddonVersion(script.module.pvr.artwork),(,)]</label>
<textureradioonfocus colordiffuse="ffffffff">buttons/status-on.png</textureradioonfocus>
<textureradioonnofocus colordiffuse="ffffffff">buttons/status-on.png</textureradioonnofocus>
<textureradioofffocus colordiffuse="fff02222">buttons/status-off.png</textureradioofffocus>
<textureradiooffnofocus colordiffuse="fff02222">buttons/status-off.png</textureradiooffnofocus>
<onclick condition="!System.HasAddon(repository.kodinerds)">InstallAddon(repository.kodinerds)</onclick>
<onclick condition="System.HasAddon(repository.kodinerds)">InstallAddon(script.module.pvr.artwork)</onclick>
<onclick condition="System.HasAddon(script.module.pvr.artwork)">Addon.OpenSettings(script.module.pvr.artwork)</onclick>
<selected>System.HasAddon(script.module.pvr.artwork)</selected>
<include>DefaultSettingButton</include>
</control>
(2022-08-18, 15:15)spl147 Wrote: so it seems line 7 installs the repo fine but it is a old version (6.0.0) current is (7.0.1.2), after the repo is installed if i goto addons and try to navigate to the repo it says "could not connect to repository"
looks like the old repo was on github, now they host it on their own site.
xml:
<onclick condition="!System.HasAddon(plugin.video.netflix) + !System.HasAddon(repository.castagnait)">InstallAddon(repository.castagnait)</onclick>
<onclick condition="!System.HasAddon(plugin.video.netflix) + System.HasAddon(repository.castagnait)">InstallAddon(plugin.video.netflix)</onclick>
<onclick condition="System.HasAddon(plugin.video.netflix)">Addon.OpenSettings(plugin.video.netflix)</onclick>
(2022-08-18, 15:15)spl147 Wrote: so it seems line 7 installs the repo fine but it is a old version (6.0.0) current is (7.0.1.2), after the repo is installed if i goto addons and try to navigate to the repo it says "could not connect to repository"
looks like the old repo was on github, now they host it on their own site.
(2022-08-18, 19:01)spl147 Wrote: how can i provide a link in the skinsettings to the repo?
(2022-08-20, 22:28)mardukL Wrote: hm. id did a test and it works flawlesslyOK, i got the repo setup and working.
may take a look and compare.
https://github.com/marduklev/kodi_repo/c...43f1eee507
if your repo is on git hub i can do a pr if you want.
Edit: worked,but also fix a typo https://github.com/marduklev/kodi_repo/c...530ae53155
xml:<control type="radiobutton" id="301">
<label>Kodinerds Addon Repo $INFO[System.AddonVersion(repository.kodinerds),(,)]</label>
<textureradioonfocus colordiffuse="ffffffff">buttons/status-on.png</textureradioonfocus>
<textureradioonnofocus colordiffuse="ffffffff">buttons/status-on.png</textureradioonnofocus>
<textureradioofffocus colordiffuse="fff02222">buttons/status-off.png</textureradioofffocus>
<textureradiooffnofocus colordiffuse="fff02222">buttons/status-off.png</textureradiooffnofocus>
<onclick condition="!System.HasAddon(repository.kodinerds)">InstallAddon(repository.kodinerds)</onclick>
<selected>System.HasAddon(repository.kodinerds)</selected>
<include>DefaultSettingButton</include>
</control>