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

#include <AudioDecoder.h>

Public Member Functions

void SetTitle (const std::string &title)
 Set the title from music as string on info tag.
 
std::string GetTitle () const
 Get title name.
 
void SetArtist (const std::string &artist)
 Set artist name.
 
std::string GetArtist () const
 Get artist name.
 
void SetAlbum (const std::string &album)
 Set album name.
 
std::string GetAlbum () const
 Set album name.
 
void SetAlbumArtist (const std::string &albumArtist)
 Set album artist name.
 
std::string GetAlbumArtist () const
 Get album artist name.
 
void SetMediaType (const std::string &mediaType)
 Set the media type of the music item.
 
std::string GetMediaType () const
 Get the media type of the music item.
 
void SetGenre (const std::string &genre)
 Set genre name from music as string if present.
 
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 track)
 Set track number (if present) from music info as integer.
 
int GetTrack () const
 Get track number (if present).
 
void SetDisc (int disc)
 Set disk number (if present) from music info as integer.
 
int GetDisc () const
 Get disk number (if present)
 
void SetDiscSubtitle (const std::string &discSubtitle)
 Set disk subtitle name (if present) from music info.
 
std::string GetDiscSubtitle () const
 Get disk subtitle name (if present) from music info.
 
void SetDiscTotal (int discTotal)
 Set disks amount quantity (if present) from music info as integer.
 
int GetDiscTotal () const
 Get disks amount quantity (if present)
 
void SetReleaseDate (const std::string &releaseDate)
 Set release date as string from music info (if present).
ISO8601 date YYYY, YYYY-MM or YYYY-MM-DD.
 
std::string GetReleaseDate () const
 Get release date as string from music info (if present).
 
void SetLyrics (const std::string &lyrics)
 Set string from lyrics.
 
std::string GetLyrics () const
 Get string from lyrics.
 
void SetSamplerate (int samplerate)
 Set related stream samplerate.
 
int GetSamplerate () const
 Get related stream samplerate.
 
void SetChannels (int channels)
 Set related stream channels amount.
 
int GetChannels () const
 Get related stream channels amount.
 
void SetBitrate (int bitrate)
 Set related stream bitrate.
 
int GetBitrate () const
 Get related stream bitrate.
 
void SetComment (const std::string &comment)
 Set additional information comment (if present).
 
std::string GetComment () const
 Get additional information comment (if present).
 
void SetCoverArtByPath (const std::string &path)
 Set cover art image by path.
 
std::string GetCoverArtByPath () const
 Get cover art image path.
 
void SetCoverArtByMem (const uint8_t *data, size_t size, const std::string &mimetype)
 Set cover art image by memory.
 
const uint8_tGetCoverArtByMem (size_t &size, std::string &mimetype) const
 Get cover art data by memory.
 

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