|
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
Kodi's music info tag class. More...
Classes | |
| class | XBMCAddon::xbmc::InfoTagMusic |
Functions | |
| XBMCAddon::xbmc::InfoTagMusic::getDbId () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getURL () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getTitle () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getMediaType () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getArtist () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getAlbum () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getAlbumArtist () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getGenre () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getDuration () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getRating () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getUserRating () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getTrack () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getDisc () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getReleaseDate () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getListeners () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getPlayCount () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getLastPlayed () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getComment () | |
| |
| XBMCAddon::xbmc::InfoTagMusic::getLyrics () | |
| |
Kodi's music info tag class.
Class: InfoTagMusic() To get music info tag data of currently played source.
Example:
| String XBMCAddon::xbmc::InfoTagMusic::getAlbum | ( | ) |
Function: getAlbum() Returns the album from music tag as string if present.
| String XBMCAddon::xbmc::InfoTagMusic::getAlbumArtist | ( | ) |
Function: getAlbumArtist() Returns the album artist from music tag as string if present.
| String XBMCAddon::xbmc::InfoTagMusic::getArtist | ( | ) |
Function: getArtist() Returns the artist from music as string if present.
| String XBMCAddon::xbmc::InfoTagMusic::getComment | ( | ) |
Function: getComment() Returns comment as string from music info tag.
| int XBMCAddon::xbmc::InfoTagMusic::getDbId | ( | ) |
Function: getDbId() Get identification number of tag in database.
| int XBMCAddon::xbmc::InfoTagMusic::getDisc | ( | ) |
Function: getDisc() Returns the disk number (if present) from music info tag as integer.
| int XBMCAddon::xbmc::InfoTagMusic::getDuration | ( | ) |
Function: getDuration() Returns the duration of music as integer from info tag.
| String XBMCAddon::xbmc::InfoTagMusic::getGenre | ( | ) |
Function: getGenre() Returns the genre name from music tag as string if present.
| String XBMCAddon::xbmc::InfoTagMusic::getLastPlayed | ( | ) |
Function: getLastPlayed() Returns last played time as string from music info tag.
| int XBMCAddon::xbmc::InfoTagMusic::getListeners | ( | ) |
Function: getListeners() Returns the listeners as integer from music info tag.
| String XBMCAddon::xbmc::InfoTagMusic::getLyrics | ( | ) |
Function: getLyrics() Returns a string from lyrics.
| String XBMCAddon::xbmc::InfoTagMusic::getMediaType | ( | ) |
Function: getMediaType() Get the media type of the music item.
Available strings about media type for music:
| String | Description |
|---|---|
| artist | If it is defined as an artist |
| album | If it is defined as an album |
| song | If it is defined as a song |
| int XBMCAddon::xbmc::InfoTagMusic::getPlayCount | ( | ) |
Function: getPlayCount() Returns the number of carried out playbacks.
| int XBMCAddon::xbmc::InfoTagMusic::getRating | ( | ) |
Function: getRating() Returns the scraped rating as integer.
| String XBMCAddon::xbmc::InfoTagMusic::getReleaseDate | ( | ) |
Function: getReleaseDate() Returns the release date as string from music info tag (if present).
| String XBMCAddon::xbmc::InfoTagMusic::getTitle | ( | ) |
Function: getTitle() Returns the title from music as string on info tag.
| int XBMCAddon::xbmc::InfoTagMusic::getTrack | ( | ) |
Function: getTrack() Returns the track number (if present) from music info tag as integer.
| String XBMCAddon::xbmc::InfoTagMusic::getURL | ( | ) |
Function: getURL() Returns url of source as string from music info tag.
| int XBMCAddon::xbmc::InfoTagMusic::getUserRating | ( | ) |
Function: getUserRating() Returns the user rating as integer (-1 if not existing)