If you use getSetting() from the xbmcplugin-module, yes - you need to pass
handle as int as first param. This parameter is not new ;-)

But most other Add-ons use getSetting() as method on an object of
xbmcaddon.Addon:
import xbmcaddon
addon = xbmcaddon.Addon()
value = addon.getSetting('hostname')


2013/7/22 Ben Bucksch <[email protected]>

> Nevermind.
>
> After long searching, I finally found the API docs at
> http://mirrors.xbmc.org/docs/python-docs/xbmcplugin.html
> (Please link them at the *top* of
> http://wiki.xbmc.org/index.php?title=Add-on_development )
>
> http://passion-xbmc.org/gros_fichiers/XBMC%20Python%20Doc/Camelot/xbmcplugin.html
> had a lot higher Google rating, but I (now!) see it's from 2007.
>
> This shows that the getSetting() function now has a new parameter
> "handle". This is what I was guessing.
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Xbmc-addons mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbmc-addons
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to