Kodi Development  20.0
for Binary and Script based Add-Ons
Python API v19

Member onDatabaseUpdated (...)
xbmc.monitor().onDatabaseUpdated() function was removed completely.
Member onDatabaseScanStarted (...)
xbmc.monitor().onDatabaseScanStarted() function was removed completely.
Member onAbortRequested (...)
xbmc.monitor().onAbortRequested() function was removed completely.
Member create (...)
xbmcgui.DialogBusy().create() function was removed completely.
Member update (...)
xbmcgui.DialogBusy().update() function was removed completely.
Member close (...)
xbmcgui.DialogBusy().close() function was removed completely.
Member iscanceled (...)
xbmcgui.DialogBusy().iscanceled() function was removed completely.
Member setIconImage (...)
xbmcgui.ListItem().setIconImage() function was removed completely.
Member setThumbnailImage (...)
xbmcgui.ListItem().setThumbnailImage() function was removed completely.
Member getdescription (...)
xbmcgui.ListItem().getdescription() function was removed completely.
Member getduration (...)
xbmcgui.ListItem().getduration() function was removed completely.
Member getfilename (...)
xbmcgui.ListItem().getfilename() function was removed completely.
Member getfilename (...)
xbmcgui.Window().getResolution() function was removed completely.
Member setCoordinateResolution (...)
xbmcgui.Window().setCoordinateResolution() function was removed completely.
Member makeLegalFilename (...)
xbmc.makeLegalFilename() function was moved to the xbmcvfs module.
Member validatePath (...)
xbmc.validatePath() function was moved to the xbmcvfs module.
Member abortRequested (...)
xbmc.abortRequested flag was removed completely. Use xbmc.Monitor().abortRequested().

Member addSortMethod (...)
Added new option labelMask.
Member Control::setVisible (...)
You can now define the visible state of a control before it being added to a window. This value will be taken into account when the control is later added.
Member ControlEdit::setType (...)
New option added to mask numeric input.
Member ControlTextBox::getText ()
getText() can now be used before adding the control to the window
Member ControlTextBox::reset ()
reset() will reset any text defined for this control even before you add the control to the window
Member ControlTextBox::setText (...)
setText can now be used before adding the control to the window (the defined value is taken into consideration when the control is created)
Member CryptoSession::Decrypt (...)
With python 3 all arguments need to be of type bytearray instead of byte.
Member CryptoSession::Encrypt (...)
With python 3 all arguments need to be of type bytearray instead of byte.
Member CryptoSession::GetKeyRequest (...)
With python 3 the init param must be a bytearray instead of byte.
Member CryptoSession::ProvideKeyResponse (...)
With python 3 the response argument must be a bytearray instead of byte.
Member CryptoSession::Sign (...)
With python 3 all arguments need to be of type bytearray instead of byte.
Member CryptoSession::Verify (...)
With python 3 for all arguments is needed to pass bytearray instead of byte.
Member Dialog::numeric (...)

New option added ShowAndVerifyNewPassword.

Added new option bHiddenInput.

Member Dialog::ok (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member Dialog::yesno (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member Dialog::yesnocustom (...)
New function added.
Member DialogProgress::create (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member DialogProgress::update (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member File::seek (...)
Function changed. param iWhence is now optional.
Member File::tell ()
New function added
Member InfoTagMusic::getMusicBrainzAlbumArtistID ()
New function added.
Member InfoTagMusic::getMusicBrainzAlbumID ()
New function added.
Member InfoTagMusic::getMusicBrainzArtistID ()
New function added.
Member InfoTagMusic::getMusicBrainzReleaseGroupID ()
New function added.
Member InfoTagMusic::getMusicBrainzTrackID ()
New function added.
Member InfoTagVideo::getFilenameAndPath ()
New function added.
Member ListItem::addAvailableArtwork (...)
New param added (preview).
Member ListItem::ListItem ([label, label2, path, offscreen])
Removed iconImage and thumbnailImage. Use setArt().
Member log (...)
Removed LOGNOTICE (use LOGINFO) and LOGSEVERE (use LOGFATAL)
Member makeLegalFilename (...)
New function added (replaces old xbmc.makeLegalFilename)
Module python_file
Added context manager support
Module python_xbmcgui_control_edit
Removed isPassword
Member translatePath (...)
New function added (replaces old xbmc.translatePath)
Member validatePath (...)
New function added (replaces old xbmc.validatePath)