open addon from main menu
#1
hi all

i have a little plugin that i want to open it from the main menu
in the old version of xbmc i just add to home.xml this line:

Code:
<item id="13">
<label>50002</label>
<onclick>ActivateWindow(1,plugin://video/icon2/?mode=MODE_CAMERA_LIST</onclick>
<icon>special://skin/backgrounds/contec-cam.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Scripts_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoScriptsButton)</visible>
</item>

but now i try to convert it to addon so i try to this in the home.xml:

Code:
    <onclick>ActivateWindow(1,addons://video/icon2/?mode=MODE_ROOM_LIST</onclick>

but the plugin isnt open

anyone know why?

thank you
ofer
Reply
#2
If it's a script or plugin it should be

Runscript(addon id)
RunPlugin(addon id)

Or what skin you using? If Confluence, use this mod and due it through the skin by adding it as a favorite
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply

Logout Mark Read Team Forum Stats Members Help
open addon from main menu0