Kodi Documentation  20.0
Kodi is an open source media player and entertainment hub.
Python API v20

Member translatePath (...)
xbmc.translatePath() function was removed completely. Use xbmcvfs.translatePath().

Module python_InfoTagGame
New class added.
Module python_InfoTagPicture
New class added.
Module python_settings
New class added.
Module python_xbmc_actor
New class added.
Module python_xbmc_audiostreamdetail
New class added.
Module python_xbmc_subtitlestreamdetail
New class added.
Module python_xbmc_videostreamdetail
New class added.
Member startServer (...)
Removed option bWait.
Member XBMCAddon::xbmc::Actor::Actor (...)
New function added.
Member XBMCAddon::xbmc::Actor::getName ()
New function added.
Member XBMCAddon::xbmc::Actor::getOrder ()
New function added.
Member XBMCAddon::xbmc::Actor::getRole ()
New function added.
Member XBMCAddon::xbmc::Actor::getThumbnail ()
New function added.
Member XBMCAddon::xbmc::Actor::setName (...)
New function added.
Member XBMCAddon::xbmc::Actor::setOrder (...)
New function added.
Member XBMCAddon::xbmc::Actor::setRole (...)
New function added.
Member XBMCAddon::xbmc::Actor::setThumbnail (...)
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::AudioStreamDetail (...)
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::getChannels ()
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::getCodec ()
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::getLanguage ()
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::setChannels (...)
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::setCodec (...)
New function added.
Member XBMCAddon::xbmc::AudioStreamDetail::setLanguage (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getDeveloper ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getGameClient ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getGenres ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getOverview ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getPlatform ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getPublisher ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getTitle ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::getYear ()
New function added.
Member XBMCAddon::xbmc::InfoTagGame::InfoTagGame (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setDeveloper (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setGameClient (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setGenres (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setOverview (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setPlatform (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setPublisher (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setTitle (...)
New function added.
Member XBMCAddon::xbmc::InfoTagGame::setYear (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getGenre ()
Deprecated. Use getGenres() instead.
Member XBMCAddon::xbmc::InfoTagMusic::getGenres ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getLastPlayed ()
Deprecated. Use getLastPlayedAsW3C() instead.
Member XBMCAddon::xbmc::InfoTagMusic::getLastPlayedAsW3C ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::getYear ()
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::InfoTagMusic (...)
Added offscreen argument.
Member XBMCAddon::xbmc::InfoTagMusic::setAlbum (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setAlbumArtist (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setArtist (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setComment (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setDbId (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setDisc (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setDuration (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setGenres (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setLastPlayed (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setListeners (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setLyrics (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setMediaType (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setMusicBrainzAlbumArtistID (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setMusicBrainzAlbumID (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setMusicBrainzArtistID (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setMusicBrainzReleaseGroupID (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setMusicBrainzTrackID (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setPlayCount (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setRating (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setReleaseDate (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setTitle (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setTrack (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setURL (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setUserRating (...)
New function added.
Member XBMCAddon::xbmc::InfoTagMusic::setYear (...)
New function added.
Member XBMCAddon::xbmc::InfoTagPicture::getDirector ()
New function added.
Member XBMCAddon::xbmc::InfoTagPicture::getResolution ()
New function added.
Member XBMCAddon::xbmc::InfoTagPicture::InfoTagPicture (...)
New function added.
Member XBMCAddon::xbmc::InfoTagPicture::setDateTimeTaken (...)
New function added.
Member XBMCAddon::xbmc::InfoTagPicture::setResolution (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::addAudioStream (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::addAvailableArtwork (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::addSeason (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::addSeasons (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::addSubtitleStream (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::addVideoStream (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getActors ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getCast ()
Deprecated. Use getActors() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getDirector ()
Deprecated. Use getDirectors() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getDirectors ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getFirstAired ()
Deprecated. Use getFirstAiredAsW3C() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getFirstAiredAsW3C ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getGenre ()
Deprecated. Use getGenres() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getGenres ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getLastPlayed ()
Deprecated. Use getLastPlayedAsW3C() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getLastPlayedAsW3C ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getPremiered ()
Deprecated. Use getPremieredAsW3C() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getPremieredAsW3C ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getRating (type)
Optional type parameter added.
Member XBMCAddon::xbmc::InfoTagVideo::getResumeTime (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getUniqueID (key)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getVotes ()
Deprecated. Use getVotesAsInt() instead.
Member XBMCAddon::xbmc::InfoTagVideo::getVotesAsInt (type)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getWriters ()
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::getWritingCredits ()
Deprecated. Use getWriters() instead.
Member XBMCAddon::xbmc::InfoTagVideo::InfoTagVideo (...)
Added offscreen argument.
Member XBMCAddon::xbmc::InfoTagVideo::setAlbum (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setArtists (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setCast (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setCountries (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setDateAdded (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setDbId (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setDirectors (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setDuration (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setEpisode (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setEpisodeGuide (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setFilenameAndPath (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setFirstAired (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setGenres (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setIMDBNumber (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setLastPlayed (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setMediaType (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setMpaa (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setOriginalTitle (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setPath (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setPlaycount (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setPlot (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setPlotOutline (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setPremiered (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setProductionCode (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setRating (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setRatings (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setResumePoint (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setSeason (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setSet (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setSetId (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setSetOverview (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setShowLinks (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setSortEpisode (...)

New function added.

New function added.

Member XBMCAddon::xbmc::InfoTagVideo::setSortSeason (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setSortTitle (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setStudios (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTagLine (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTags (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTitle (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTop250 (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTrackNumber (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTrailer (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTvShowStatus (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setTvShowTitle (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setUniqueID (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setUniqueIDs (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setUserRating (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setVotes (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setWriters (...)
New function added.
Member XBMCAddon::xbmc::InfoTagVideo::setYear (...)
New function added.
Member XBMCAddon::xbmc::Player::getPlayingItem ()
New function added.
Member XBMCAddon::xbmc::SubtitleStreamDetail::getLanguage ()
New function added.
Member XBMCAddon::xbmc::SubtitleStreamDetail::setLanguage (...)
New function added.
Member XBMCAddon::xbmc::SubtitleStreamDetail::SubtitleStreamDetail (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getAspect ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getCodec ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getDuration ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getHeight ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getLanguage ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getStereoMode ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::getWidth ()
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setAspect (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setCodec (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setDuration (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setHeight (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setLanguage (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setStereoMode (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::setWidth (...)
New function added.
Member XBMCAddon::xbmc::VideoStreamDetail::VideoStreamDetail (...)
New function added.
Member XBMCAddon::xbmcaddon::Addon::getSettingBool (...)
Deprecated. Use Settings.getBool() instead.
Member XBMCAddon::xbmcaddon::Addon::getSettingInt (...)
Deprecated. Use Settings.getInt() instead.
Member XBMCAddon::xbmcaddon::Addon::getSettingNumber (...)
Deprecated. Use Settings.getNumber() instead.
Member XBMCAddon::xbmcaddon::Addon::getSettings (...)
New function added.
Member XBMCAddon::xbmcaddon::Addon::getSettingString (...)
Deprecated. Use Settings.getString() instead.
Member XBMCAddon::xbmcaddon::Addon::setSettingBool (...)
Deprecated. Use Settings.setBool() instead.
Member XBMCAddon::xbmcaddon::Addon::setSettingInt (...)
Deprecated. Use Settings.setInt() instead.
Member XBMCAddon::xbmcaddon::Addon::setSettingNumber (...)
Deprecated. Use Settings.setNumber() instead.
Member XBMCAddon::xbmcaddon::Addon::setSettingString (...)
Deprecated. Use Settings.setString() instead.
Member XBMCAddon::xbmcaddon::Settings::getBool (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getBoolList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getInt (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getIntList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getNumber (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getNumberList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getString (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::getStringList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setBool (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setBoolList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setInt (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setIntList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setNumber (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setNumberList (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setString (...)
New function added.
Member XBMCAddon::xbmcaddon::Settings::setStringList (...)
New function added.
Member XBMCAddon::xbmcgui::Dialog::yesno (...)
Added new option defaultbutton.
Member XBMCAddon::xbmcgui::Dialog::yesnocustom (...)
Added new option defaultbutton.
Member XBMCAddon::xbmcgui::ListItem::addAvailableArtwork (...)
Deprecated. Use InfoTagVideo.addAvailableArtwork() instead.
Member XBMCAddon::xbmcgui::ListItem::addSeason (...)
Deprecated. Use InfoTagVideo.addSeason() or InfoTagVideo.addSeasons() instead.
Member XBMCAddon::xbmcgui::ListItem::addStreamInfo (...)
Deprecated. Use InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() or InfoTagVideo.addSubtitleStream() instead.
Member XBMCAddon::xbmcgui::ListItem::getDateTime ()
New function added.
Member XBMCAddon::xbmcgui::ListItem::getGameInfoTag ()
New function added.
Member XBMCAddon::xbmcgui::ListItem::getPictureInfoTag ()
New function added.
Member XBMCAddon::xbmcgui::ListItem::getProperty (...)
ResumeTime and TotalTime deprecated. Use InfoTagVideo.getResumeTime() and InfoTagVideo.getResumeTimeTotal() instead.
Member XBMCAddon::xbmcgui::ListItem::getRating (key)
Deprecated. Use InfoTagVideo.getRating() instead.
Member XBMCAddon::xbmcgui::ListItem::getUniqueID (key)
Deprecated. Use InfoTagVideo.getUniqueID() instead.
Member XBMCAddon::xbmcgui::ListItem::getVotes (key)
Deprecated. Use InfoTagVideo.getVotesAsInt() instead.
Member XBMCAddon::xbmcgui::ListItem::isFolder ()
New function added.
Member XBMCAddon::xbmcgui::ListItem::setCast (...)
Deprecated. Use InfoTagVideo.setCast() instead.
Member XBMCAddon::xbmcgui::ListItem::setDateTime (...)
New function added.
Member XBMCAddon::xbmcgui::ListItem::setInfo (...)
Partially deprecated. Use explicit setters in InfoTagVideo, InfoTagMusic, InfoTagPicture or InfoTagGame instead.
Member XBMCAddon::xbmcgui::ListItem::setProperty (...)

OverrideInfotag property added

ResumeTime and TotalTime deprecated. Use InfoTagVideo.setResumePoint() instead.

ForceResolvePlugin property added

Member XBMCAddon::xbmcgui::ListItem::setRating (...)
Deprecated. Use InfoTagVideo.setRating() instead.
Member XBMCAddon::xbmcgui::ListItem::setUniqueIDs (...)
Deprecated. Use InfoTagVideo.setUniqueIDs() instead.