Posts: 78
Joined: Jul 2015
Reputation:
2
This is my xml file. register.xml and This is what it inside have...
<register>
<setting id="ipkey" value="1252473100" />
</register>
How to get ipkey value using python? I think this understandable...
Posts: 4,146
Joined: Jan 2008
Reputation:
40
2015-08-03, 09:26
(This post was last modified: 2015-08-03, 09:29 by mkortstiege.)
xbmcplugin.getSetting("ipkey") ? Edit, nvm misread. It's a random xml file not plugin settings. You have to read and parse that file.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Please check the other addons. You will most likely have to use elementree to parse the xml file.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Sorry, i don't do python and addon coding. You better wait for someone that actually knows it.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 2,571
Joined: Aug 2012
Reputation:
217
Use xmbcaddon.openSettings
xbmcaddon.Addon(id='plugin.video.somename').openSettings()