Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

#include <Visualization.h>

Public Member Functions

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

The documentation for this class was generated from the following file: