2019-09-13, 23:09
(2019-09-13, 20:27)Hitcher Wrote:how can I use this command in this panel properly? I defined it as a property and called that install in panel id 161. I then called it in panel id 164 with installaddon command. When I click on the addon icon, it does not install. Can someone give me some tips please. ThanksQuote:https://kodi.wiki/view/List_of_built-in_...ilt-in.27sInstallAddon(id)
Will install the addon with the given id.
Code:
<control type="panel" id="161">
<top>180</top>
<left>0</left>
<onright>50</onright>
<onleft>9000</onleft>
<height>250</height>
<include>SettingsRows</include>
<content>
<item>
<label>$LOCALIZE[20244]</label>
<icon>DefaultAddonAndroid.png</icon>
<property name="AppsTarget">programs</property>
<property name="AppsContent">plugin://plugin.program.aptoide/?content_type=video/</property>
<property name="AppsSortBy">lastused</property>
<property name="Install">InstallAddon</property>
<onclick>ActivateWindow(10040,"addons://all/xbmc.addon.executable",return)</onclick>
</item>
</control>
Code:
<control type="panel" id="164">
<left>0</left>
<onright>164</onright>
<onleft>164</onleft>
<height>315</height>
<top>40</top>
<include>SettingsRows_Apps4</include>
<orientation>horizontal</orientation>
<content target="$INFO[Container(161).ListItem.Property(AppsTarget)]" sortby="$INFO[Container(161).ListItem.Property(AppsSortBy)]" sortorder="descending" InstallAddon="install">$INFO[Container(161).ListItem.Property(AppsContent)]</content>
</control>