Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
kodi::addon::AudioEncoderInfoTag Class Reference

#include <AudioEncoder.h>

Public Member Functions

void SetTitle (const std::string &title)
 Set the title from music as string on info tag.
 
const std::string & GetTitle () const
 Get title name.
 
void SetArtist (const std::string &artist)
 Set artist name.
 
const std::string & GetArtist () const
 Get artist name.
 
void SetAlbum (const std::string &album)
 Set album name.
 
const std::string & GetAlbum () const
 Get album name.
 
void SetAlbumArtist (const std::string &albumArtist)
 Set album artist name.
 
const std::string & GetAlbumArtist () const
 Get album artist name.
 
void SetMediaType (const std::string &mediaType)
 Set the media type of the music item.
 
const 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.
 
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 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.
 
const 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.
 
const std::string & GetReleaseDate () const
 Get release date as string from music info (if present).
 
void SetLyrics (const std::string &lyrics)
 Set string from lyrics.
 
const 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 SetBitsPerSample (int bits_per_sample)
 Set related stream bits per sample.
 
int GetBitsPerSample () const
 Get related stream bits per sample.
 
void SetTrackLength (int track_length)
 Set related stream track length.
 
int GetTrackLength () const
 Get related stream track length.
 
void SetComment (const std::string &comment)
 Set additional information comment (if present).
 
const std::string & GetComment () const
 Get additional information comment (if present).
 

Friends

class CInstanceAudioEncoder
 

Friends And Related Symbol Documentation

◆ CInstanceAudioEncoder

friend class CInstanceAudioEncoder
friend

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