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 :
◆ SetTitle()
void SetTitle |
( |
const std::string & | title | ) |
|
|
inline |
Set title of the current song.
◆ GetTitle()
const std::string & GetTitle |
( |
| ) |
const |
|
inline |
Get title of the current song.
◆ SetArtist()
void SetArtist |
( |
const std::string & | artist | ) |
|
|
inline |
Set artist names, as a single string-.
◆ GetArtist()
const std::string & GetArtist |
( |
| ) |
const |
|
inline |
Get artist names, as a single string-.
◆ SetAlbum()
void SetAlbum |
( |
const std::string & | album | ) |
|
|
inline |
Set Album that the current song is from.
◆ GetAlbum()
const std::string & GetAlbum |
( |
| ) |
const |
|
inline |
Get Album that the current song is from.
◆ SetAlbumArtist()
void SetAlbumArtist |
( |
const std::string & | albumArtist | ) |
|
|
inline |
Set album artist names, as a single stringalbum artist name.
◆ GetAlbumArtist()
const std::string & GetAlbumArtist |
( |
| ) |
const |
|
inline |
Get album artist names, as a single string-.
◆ SetGenre()
void SetGenre |
( |
const std::string & | genre | ) |
|
|
inline |
Set genre name from music as string if present.
◆ GetGenre()
const std::string & GetGenre |
( |
| ) |
const |
|
inline |
Get genre name from music as string if present.
◆ SetDuration()
void SetDuration |
( |
int | duration | ) |
|
|
inline |
Set the duration of music as integer from info.
◆ GetDuration()
int GetDuration |
( |
| ) |
const |
|
inline |
Get the duration of music as integer from info.
◆ SetTrack()
void SetTrack |
( |
int | trackNumber | ) |
|
|
inline |
Set track number (if present) from music info as integer.
◆ GetTrack()
Get track number (if present).
◆ SetDisc()
void SetDisc |
( |
int | discNumber | ) |
|
|
inline |
Set disk number (if present) from music info as integer.
◆ GetDisc()
Get disk number (if present)
◆ SetYear()
Set year that the current song was released.
◆ GetYear()
Get year that the current song was released.
◆ SetLyrics()
void SetLyrics |
( |
const std::string & | lyrics | ) |
|
|
inline |
◆ GetLyrics()
const std::string & GetLyrics |
( |
| ) |
const |
|
inline |
◆ SetRating()
void SetRating |
( |
int | rating | ) |
|
|
inline |
Set the user-defined rating of the current song.
◆ GetRating()
Get the user-defined rating of the current song.
◆ SetComment()
void SetComment |
( |
const std::string & | comment | ) |
|
|
inline |
Set additional information comment (if present).
◆ GetComment()
const std::string & GetComment |
( |
| ) |
const |
|
inline |
Get additional information comment (if present).