Archive:Helix API changes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with " == Python == ==== New Methods ==== * xbmc.Monitor.onCleanStarted * xbmc.Monitor.onCleanFinished * xbmc.Monitor.onDPMSActivated * xbmc.Monitor.onDPMSDeactivated * xbmc.Monitor...")
 
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:


== Python ==
== Python ==
Line 15: Line 16:
* xbmc.Monitor.onDatabaseScanStarted, renamed onScanStarted
* xbmc.Monitor.onDatabaseScanStarted, renamed onScanStarted
* xbmc.Monitor.onDatabaseUpdated, renamed onScanFinished
* xbmc.Monitor.onDatabaseUpdated, renamed onScanFinished
== Builtins ==
==== New ====
<code>UpdateLibrary(database[,path, showdialogs])</code> New parameter ''showdialogs''. Whether to show progress bar and other dialogs. Defaults to true.
<code>CleanLibrary(database[,showdialogs])</code>
==== Changed ====
Using <code>RunScript</code> to call service addons, plugins and other non-script addons is deprecated. Add <code>xbmc.python.script</code> or <code>xbmc.python.library</code> 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 <code>RunScript</code> with a '''file path''' and '''depend on other installed module addons''' this behavior is deprecated. Add <code>xbmc.python.script</code> or <code>xbmc.python.library</code> extension point and call RunScript with the addon ID instead.




== JSON-RPC ==
== JSON-RPC ==
==== Changed Methods ====
==== Changed Methods ====
{{incomplete}}
 
* ?
* ?


==== New Methods ====
==== New Methods ====
{{incomplete}}
 
* ?
* ?
== Window IDs ==
See [[Window IDs]]
== Changes to the skinning engine ==
See http://forum.kodi.tv/showthread.php?tid=194515
[[Category:Releases|Helix]]

Latest revision as of 03:14, 29 July 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