Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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 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)
Member XBMCAddon::xbmc::InfoTagMusic::getMusicBrainzAlbumArtistID ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getMusicBrainzAlbumID ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getMusicBrainzArtistID ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getMusicBrainzReleaseGroupID ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getMusicBrainzTrackID ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getFilenameAndPath ()
New function added.
Member XBMCAddon::xbmcdrm::CryptoSession::Decrypt (...)
With python 3 all arguments need to be of type bytearray instead of byte.
Member XBMCAddon::xbmcdrm::CryptoSession::Encrypt (...)
With python 3 all arguments need to be of type bytearray instead of byte.
Member XBMCAddon::xbmcdrm::CryptoSession::GetKeyRequest (...)
With python 3 the init param must be a bytearray instead of byte.
Member XBMCAddon::xbmcdrm::CryptoSession::ProvideKeyResponse (...)
With python 3 the response argument must be a bytearray instead of byte.
Member XBMCAddon::xbmcdrm::CryptoSession::Sign (...)
With python 3 all arguments need to be of type bytearray instead of byte.
Member XBMCAddon::xbmcdrm::CryptoSession::Verify (...)
With python 3 for all arguments is needed to pass bytearray instead of byte.
Member XBMCAddon::xbmcgui::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 XBMCAddon::xbmcgui::ControlEdit::setType (...)
New option added to mask numeric input.
Member XBMCAddon::xbmcgui::ControlTextBox::getText ()
getText() can now be used before adding the control to the window
Member XBMCAddon::xbmcgui::ControlTextBox::reset ()
reset() will reset any text defined for this control even before you add the control to the window
Member XBMCAddon::xbmcgui::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 XBMCAddon::xbmcgui::Dialog::numeric (...)

New option added ShowAndVerifyNewPassword.

Added new option bHiddenInput.

Member XBMCAddon::xbmcgui::Dialog::ok (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member XBMCAddon::xbmcgui::Dialog::yesno (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member XBMCAddon::xbmcgui::Dialog::yesnocustom (...)

New function added.

Member XBMCAddon::xbmcgui::DialogProgress::create (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member XBMCAddon::xbmcgui::DialogProgress::update (...)

Renamed option line1 to message.

Removed option line2.

Removed option line3.

Member XBMCAddon::xbmcgui::ListItem::addAvailableArtwork (...)

New param added (preview).

Member XBMCAddon::xbmcgui::ListItem::ListItem ([label, label2, path, offscreen])
Removed iconImage and thumbnailImage. Use setArt().
Member XBMCAddon::xbmcvfs::File::seek (...)
Function changed. param iWhence is now optional.
Member XBMCAddon::xbmcvfs::File::tell ()
New function added