Archive:Helix API changes: Difference between revisions
(Removed Incomplete Category. Pointless to update.) |
No edit summary |
||
Line 55: | Line 55: | ||
* [[Gotham API changes]] | * [[Gotham API changes]] | ||
* [[Frodo API changes]] | * [[Frodo API changes]] | ||
* [[Eden API changes]] | * [[Archive:Eden API changes]] | ||
[[Category:Development|*]] | [[Category:Development|*]] | ||
[[Category:Add-on development]] | [[Category:Add-on development]] | ||
[[Category:Helix|*]] | [[Category:Helix|*]] |
Revision as of 06:40, 18 June 2020
Python
New Methods
- xbmc.Monitor.onCleanStarted
- xbmc.Monitor.onCleanFinished
- xbmc.Monitor.onDPMSActivated
- xbmc.Monitor.onDPMSDeactivated
- xbmc.Monitor.abortRequested
- xbmc.Monitor.waitForAbort
- xbmcgui.ListItem.setSubtitles
Deprecated Methods
- xbmc.abortRequested, use Monitor.waitForAbort
- xbmc.Monitor.onDatabaseScanStarted, renamed onScanStarted
- xbmc.Monitor.onDatabaseUpdated, renamed onScanFinished
Builtins
New
UpdateLibrary(database[,path, showdialogs])
New parameter showdialogs. Whether to show progress bar and other dialogs. Defaults to true.
CleanLibrary(database[,showdialogs])
Changed
Using RunScript
to call service addons, plugins and other non-script addons is deprecated. Add xbmc.python.script
or xbmc.python.library
extension point if addon should be runnable via RunScript.
Changes to python path
All installed module addons are no longer added to the python path, only those imported in Addon.xml.
If you use RunScript
with a file path and depend on other installed module addons this behavior is deprecated. Add xbmc.python.script
or xbmc.python.library
extension point and call RunScript with the addon ID instead.
JSON-RPC
Changed Methods
- ?
New Methods
- ?
Window IDs
See Window IDs
Changes to the skinning engine
See http://forum.kodi.tv/showthread.php?tid=194515