Archive:Helix API changes

From Official Kodi Wiki
Revision as of 05:52, 12 June 2018 by Karellen (talk | contribs) (Removed Incomplete Category. Pointless to update.)
Jump to navigation Jump to search

Template:Helix

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

See also