Skin.SetAddon
#1
Hi guys

I would like to use skin.setaddon but without specifying the type , so user can decide on his/her own.

I have tried

Skin.SetAddon(Addon1,) Skin.SetAddon(Addon1) Skin.SetAddon(Addon1,xbmc.addon)

without success.

Surely I'm doing something wrong?
My skins:

Amber
Quartz

Reply
#2
pecinko Wrote:Hi guys

I would like to use skin.setaddon but without specifying the type , so user can decide on his/her own.

I have tried

Skin.SetAddon(Addon1,) Skin.SetAddon(Addon1) Skin.SetAddon(Addon1,xbmc.addon)

without success.

Surely I'm doing something wrong?
May be something like this:

Skin.SetAddon(Addon1, xbmc.python.pluginsource)
or
Skin.SetAddon(Addon1-scriptpath,xbmc.python.pluginsource)
Reply
#3
Well, than I suppose it's not possible.
My skins:

Amber
Quartz

Reply
#4
Not sure exactly what you're after. Perhaps describe what you want to achieve?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Sure. I have a section on home screen similar to "system" in confluence. I would like to provide a possibility for a user to make shortcuts to addons of his choice (again similar to Confluence). I would like however to give user a possibility to choose what type of addon to assign, so instead of forcing, say, video type with xbmc.addon.video - I should use?
My skins:

Amber
Quartz

Reply

Logout Mark Read Team Forum Stats Members Help
Skin.SetAddon0