Kodi Community Forum

Full Version: How do I create a shortcut to a PVR Addon's settings?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys,

I'm trying to create shortcut button to access the settings dialogue for a PVR client ("Stalker Client"). I know that I could use:

Quote:ActivateWindow(10140,[plugin])

or maybe:

Quote:Addon.Default.OpenSettings ([PVR Addon]) Open a settings dialog for the default addon of the given type


Quote:Addon.OpenSettings(id) Open a settings dialog for the addon of the given id


But what do I insert as the value of parameter highlighted in red? As it's a PVR addon I'm not sure exactly what to put in and would appreciate any help on this. :/

Thank you. Wink
i think only Addon.OpenSettings(id) will do what you're after.

you need to use the addonid there.
you can find it by checking the addon.xml file: https://github.com/kenji123/pvr.stalker/...don.xml#L3
(2015-11-22, 19:56)ronie Wrote: [ -> ]i think only Addon.OpenSettings(id) will do what you're after.

you need to use the addonid there.
you can find it by checking the addon.xml file: https://github.com/kenji123/pvr.stalker/...don.xml#L3

Thank you Ronie, that was exactly what I needed and it works Big Grin

Thank you so much once again, it's much appreciated.
Hey!

I see that there's ages ago you guys replied to this thred.. but, i'll give it a go!

I'm trying to make the exakt same thing but for TVheadsend PVR.
Beene searching everywhere for the ID of the addon settings in which the user adds the username, password and url.
Then by doing the Addon.OpenSettings(ID) I want the user to enter the setting directy from main.

Is there a list of default ID's of the addons which is in the kodi repository?

Thanks!