PSA: Our Wiki software is being updated to the latest version to fix the ReCaptcha issue. We request that no edits be made until this banner is removed. The wiki is still available for research purposes. Thankyou.

Helix API changes

From Official Kodi Wiki
Jump to: navigation, search
Future.png FUTURE Helix FEATURE:
This page or section describes features that are a future part of the Kodi v14 release, codename "Helix". For more information see development builds.

Contents

1 Python

1.1 New Methods

  • xbmc.Monitor.onCleanStarted
  • xbmc.Monitor.onCleanFinished
  • xbmc.Monitor.onDPMSActivated
  • xbmc.Monitor.onDPMSDeactivated
  • xbmc.Monitor.abortRequested
  • xbmc.Monitor.waitForAbort
  • xbmcgui.ListItem.setSubtitles


1.2 Deprecated Methods

  • xbmc.abortRequested, use Monitor.waitForAbort
  • xbmc.Monitor.onDatabaseScanStarted, renamed onScanStarted
  • xbmc.Monitor.onDatabaseUpdated, renamed onScanFinished

2 Builtins

2.1 New

UpdateLibrary(database[,path, showdialogs]) New parameter showdialogs. Whether to show progress bar and other dialogs. Defaults to true.

CleanLibrary(database[,showdialogs])

2.2 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.


3 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.


4 JSON-RPC

4.1 Changed Methods

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?
  •  ?

4.2 New Methods

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?
  •  ?

5 Window IDs

See Window IDs

6 Changes to the skinning engine

See http://forum.kodi.tv/showthread.php?tid=194515

7 See also

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox