Info tag data structure
Representation of available information of processed audio file.
More...
Info tag data structure
Representation of available information of processed audio file.
This is used to store all the necessary data of audio stream and to have on e.g. GUI for information.
Called from kodi::addon::CInstanceVisualization::UpdateTrack() with the information of the currently-playing song.
The following table contains values that can be set with class VisualizationTrack :
◆ GetAlbum()
const std::string & kodi::addon::VisualizationTrack::GetAlbum |
( |
| ) |
const |
|
inline |
Get Album that the current song is from.
◆ GetAlbumArtist()
const std::string & kodi::addon::VisualizationTrack::GetAlbumArtist |
( |
| ) |
const |
|
inline |
Get album artist names, as a single string-.
◆ GetArtist()
const std::string & kodi::addon::VisualizationTrack::GetArtist |
( |
| ) |
const |
|
inline |
Get artist names, as a single string-.
◆ GetComment()
const std::string & kodi::addon::VisualizationTrack::GetComment |
( |
| ) |
const |
|
inline |
Get additional information comment (if present).
◆ GetDisc()
int kodi::addon::VisualizationTrack::GetDisc |
( |
| ) |
const |
|
inline |
Get disk number (if present)
◆ GetDuration()
int kodi::addon::VisualizationTrack::GetDuration |
( |
| ) |
const |
|
inline |
Get the duration of music as integer from info.
◆ GetGenre()
const std::string & kodi::addon::VisualizationTrack::GetGenre |
( |
| ) |
const |
|
inline |
Get genre name from music as string if present.
◆ GetLyrics()
const std::string & kodi::addon::VisualizationTrack::GetLyrics |
( |
| ) |
const |
|
inline |
◆ GetRating()
int kodi::addon::VisualizationTrack::GetRating |
( |
| ) |
const |
|
inline |
Get the user-defined rating of the current song.
◆ GetTitle()
const std::string & kodi::addon::VisualizationTrack::GetTitle |
( |
| ) |
const |
|
inline |
Get title of the current song.
◆ GetTrack()
int kodi::addon::VisualizationTrack::GetTrack |
( |
| ) |
const |
|
inline |
Get track number (if present).
◆ GetYear()
int kodi::addon::VisualizationTrack::GetYear |
( |
| ) |
const |
|
inline |
Get year that the current song was released.
◆ SetAlbum()
void kodi::addon::VisualizationTrack::SetAlbum |
( |
const std::string & | album | ) |
|
|
inline |
Set Album that the current song is from.
◆ SetAlbumArtist()
void kodi::addon::VisualizationTrack::SetAlbumArtist |
( |
const std::string & | albumArtist | ) |
|
|
inline |
Set album artist names, as a single stringalbum artist name.
◆ SetArtist()
void kodi::addon::VisualizationTrack::SetArtist |
( |
const std::string & | artist | ) |
|
|
inline |
Set artist names, as a single string-.
◆ SetComment()
void kodi::addon::VisualizationTrack::SetComment |
( |
const std::string & | comment | ) |
|
|
inline |
Set additional information comment (if present).
◆ SetDisc()
void kodi::addon::VisualizationTrack::SetDisc |
( |
int | discNumber | ) |
|
|
inline |
Set disk number (if present) from music info as integer.
◆ SetDuration()
void kodi::addon::VisualizationTrack::SetDuration |
( |
int | duration | ) |
|
|
inline |
Set the duration of music as integer from info.
◆ SetGenre()
void kodi::addon::VisualizationTrack::SetGenre |
( |
const std::string & | genre | ) |
|
|
inline |
Set genre name from music as string if present.
◆ SetLyrics()
void kodi::addon::VisualizationTrack::SetLyrics |
( |
const std::string & | lyrics | ) |
|
|
inline |
◆ SetRating()
void kodi::addon::VisualizationTrack::SetRating |
( |
int | rating | ) |
|
|
inline |
Set the user-defined rating of the current song.
◆ SetTitle()
void kodi::addon::VisualizationTrack::SetTitle |
( |
const std::string & | title | ) |
|
|
inline |
Set title of the current song.
◆ SetTrack()
void kodi::addon::VisualizationTrack::SetTrack |
( |
int | trackNumber | ) |
|
|
inline |
Set track number (if present) from music info as integer.
◆ SetYear()
void kodi::addon::VisualizationTrack::SetYear |
( |
int | year | ) |
|
|
inline |
Set year that the current song was released.