Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
MUSIC_INFO::CMusicInfoTag Class Referencefinal

#include <MusicInfoTag.h>

Inheritance diagram for MUSIC_INFO::CMusicInfoTag:
IArchivable ISerializable ISortable

Public Member Functions

 CMusicInfoTag (void)
 
bool operator!= (const CMusicInfoTag &tag) const
 
bool Loaded () const
 
const std::string & GetTitle () const
 
const std::string & GetURL () const
 
const std::vector< std::string > & GetArtist () const
 
const std::string & GetArtistSort () const
 
const std::string GetArtistString () const
 
const std::string & GetComposerSort () const
 
const std::string & GetAlbum () const
 
int GetAlbumId () const
 
const std::vector< std::string > & GetAlbumArtist () const
 
const std::string GetAlbumArtistString () const
 
const std::string & GetAlbumArtistSort () const
 
const std::vector< std::string > & GetGenre () const
 
int GetTrackNumber () const
 
int GetDiscNumber () const
 
int GetTrackAndDiscNumber () const
 
int GetTotalDiscs () const
 
int GetDuration () const
 
int GetYear () const
 
const std::string & GetReleaseDate () const
 
const std::string GetReleaseYear () const
 
const std::string & GetOriginalDate () const
 
const std::string GetOriginalYear () const
 
int GetDatabaseId () const
 
const std::string & GetType () const
 
const std::string & GetDiscSubtitle () const
 
int GetBPM () const
 
std::string GetYearString () const
 
const std::string & GetMusicBrainzTrackID () const
 
const std::vector< std::string > & GetMusicBrainzArtistID () const
 
const std::vector< std::string > & GetMusicBrainzArtistHints () const
 
const std::string & GetMusicBrainzAlbumID () const
 
const std::string & GetMusicBrainzReleaseGroupID () const
 
const std::vector< std::string > & GetMusicBrainzAlbumArtistID () const
 
const std::vector< std::string > & GetMusicBrainzAlbumArtistHints () const
 
const std::string & GetMusicBrainzReleaseType () const
 
const std::string & GetComment () const
 
const std::string & GetMood () const
 
const std::string & GetRecordLabel () const
 
const std::string & GetLyrics () const
 
const std::string & GetCueSheet () const
 
const CDateTimeGetLastPlayed () const
 
const CDateTimeGetDateAdded () const
 
bool GetCompilation () const
 
bool GetBoxset () const
 
float GetRating () const
 
int GetUserrating () const
 
int GetVotes () const
 
int GetListeners () const
 
int GetPlayCount () const
 
int GetBitRate () const
 
int GetNoOfChannels () const
 
int GetSampleRate () const
 
const std::string & GetAlbumReleaseStatus () const
 
const std::string & GetStationName () const
 
const std::string & GetStationArt () const
 
const std::string & GetSongVideoURL () const
 
const EmbeddedArtInfoGetCoverArtInfo () const
 
const ReplayGainGetReplayGain () const
 
CAlbum::ReleaseType GetAlbumReleaseType () const
 
void SetURL (const std::string &strURL)
 
void SetTitle (const std::string &strTitle)
 
void SetArtist (const std::string &strArtist)
 
void SetArtist (const std::vector< std::string > &artists, bool FillDesc=false)
 
void SetArtistDesc (const std::string &strArtistDesc)
 
void SetArtistSort (const std::string &strArtistsort)
 
void SetComposerSort (const std::string &strComposerSort)
 
void SetAlbum (const std::string &strAlbum)
 
void SetAlbumId (const int iAlbumId)
 
void SetAlbumArtist (const std::string &strAlbumArtist)
 
void SetAlbumArtist (const std::vector< std::string > &albumArtists, bool FillDesc=false)
 
void SetAlbumArtistDesc (const std::string &strAlbumArtistDesc)
 
void SetAlbumArtistSort (const std::string &strAlbumArtistSort)
 
void SetGenre (const std::string &strGenre, bool bTrim=false)
 
void SetGenre (const std::vector< std::string > &genres, bool bTrim=false)
 
void SetYear (int year)
 
void SetOriginalDate (const std::string &strOriginalDate)
 
void SetReleaseDate (const std::string &strReleaseDate)
 
void SetDatabaseId (int id, const std::string &type)
 
void SetTrackNumber (int iTrack)
 
void SetDiscNumber (int iDiscNumber)
 
void SetTrackAndDiscNumber (int iTrackAndDisc)
 
void SetDuration (int iSec)
 
void SetLoaded (bool bOnOff=true)
 
void SetArtist (const CArtist &artist)
 
void SetAlbum (const CAlbum &album)
 
void SetSong (const CSong &song)
 
void SetMusicBrainzTrackID (const std::string &strTrackID)
 
void SetMusicBrainzArtistID (const std::vector< std::string > &musicBrainzArtistId)
 
void SetMusicBrainzArtistHints (const std::vector< std::string > &musicBrainzArtistHints)
 
void SetMusicBrainzAlbumID (const std::string &strAlbumID)
 
void SetMusicBrainzAlbumArtistID (const std::vector< std::string > &musicBrainzAlbumArtistId)
 
void SetMusicBrainzAlbumArtistHints (const std::vector< std::string > &musicBrainzAlbumArtistHints)
 
void SetMusicBrainzReleaseGroupID (const std::string &strReleaseGroupID)
 
void SetMusicBrainzReleaseType (const std::string &ReleaseType)
 
void SetComment (const std::string &comment)
 
void SetMood (const std::string &mood)
 
void SetRecordLabel (const std::string &publisher)
 
void SetLyrics (const std::string &lyrics)
 
void SetCueSheet (const std::string &cueSheet)
 
void SetRating (float rating)
 
void SetUserrating (int rating)
 
void SetVotes (int votes)
 
void SetListeners (int listeners)
 
void SetPlayCount (int playcount)
 
void SetLastPlayed (const std::string &strLastPlayed)
 
void SetLastPlayed (const CDateTime &strLastPlayed)
 
void SetDateAdded (const std::string &strDateAdded)
 
void SetDateAdded (const CDateTime &dateAdded)
 
void SetDateUpdated (const std::string &strDateUpdated)
 
void SetDateUpdated (const CDateTime &dateUpdated)
 
void SetDateNew (const std::string &strDateNew)
 
void SetDateNew (const CDateTime &dateNew)
 
void SetCompilation (bool compilation)
 
void SetBoxset (bool boxset)
 
void SetCoverArtInfo (size_t size, const std::string &mimeType)
 
void SetReplayGain (const ReplayGain &aGain)
 
void SetAlbumReleaseType (CAlbum::ReleaseType releaseType)
 
void SetType (const MediaType &mediaType)
 
void SetDiscSubtitle (const std::string &strDiscSubtitle)
 
void SetTotalDiscs (int iDiscTotal)
 
void SetBPM (int iBPM)
 
void SetBitRate (int bitrate)
 
void SetNoOfChannels (int channels)
 
void SetSampleRate (int samplerate)
 
void SetAlbumReleaseStatus (const std::string &strReleaseStatus)
 
void SetStationName (const std::string &strStationName)
 
void SetStationArt (const std::string &strStationArt)
 
void SetSongVideoURL (const std::string &songVideoURL)
 
void AppendArtist (const std::string &artist)
 Append a unique artist to the artist list Checks if we have this artist already added, and if not adds it to the songs artist list.
 
void AppendAlbumArtist (const std::string &albumArtist)
 Append a unique album artist to the artist list Checks if we have this album artist already added, and if not adds it to the songs album artist list.
 
void AppendGenre (const std::string &genre)
 Append a unique genre to the genre list Checks if we have this genre already added, and if not adds it to the songs genre list.
 
void AddOriginalDate (const std::string &strDateYear)
 
void AddReleaseDate (const std::string &strDateYear, bool isMonth=false)
 
void AddArtistRole (const std::string &Role, const std::string &strArtist)
 
void AddArtistRole (const std::string &Role, const std::vector< std::string > &artists)
 
void AppendArtistRole (const CMusicRole &ArtistRole)
 
const std::string GetArtistStringForRole (const std::string &strRole) const
 
const std::string GetContributorsText () const
 
const std::string GetContributorsAndRolesText () const
 
const VECMUSICROLESGetContributors () const
 
void SetContributors (const VECMUSICROLES &contributors)
 
bool HasContributors () const
 
void Archive (CArchive &ar) override
 
void Serialize (CVariant &ar) const override
 
void ToSortable (SortItem &sortable, Field field) const override
 
void Clear ()
 

Protected Member Functions

std::string Trim (const std::string &value) const
 Trim whitespace off the given string.
 
- Protected Member Functions inherited from IArchivable
virtual ~IArchivable ()=default
 
- Protected Member Functions inherited from ISerializable
 ~ISerializable ()=default
 
- Protected Member Functions inherited from ISortable
 ~ISortable ()=default
 

Protected Attributes

std::string m_strURL
 
std::string m_strTitle
 
std::vector< std::string > m_artist
 
std::string m_strArtistSort
 
std::string m_strArtistDesc
 
std::string m_strComposerSort
 
std::string m_strAlbum
 
std::vector< std::string > m_albumArtist
 
std::string m_strAlbumArtistDesc
 
std::string m_strAlbumArtistSort
 
std::vector< std::string > m_genre
 
std::string m_strMusicBrainzTrackID
 
std::vector< std::string > m_musicBrainzArtistID
 
std::vector< std::string > m_musicBrainzArtistHints
 
std::string m_strMusicBrainzAlbumID
 
std::vector< std::string > m_musicBrainzAlbumArtistID
 
std::vector< std::string > m_musicBrainzAlbumArtistHints
 
std::string m_strMusicBrainzReleaseGroupID
 
std::string m_strMusicBrainzReleaseType
 
VECMUSICROLES m_musicRoles
 
std::string m_strComment
 
std::string m_strMood
 
std::string m_strRecordLabel
 
std::string m_strLyrics
 
std::string m_cuesheet
 
std::string m_strDiscSubtitle
 
std::string m_strReleaseDate
 
std::string m_strOriginalDate
 
CDateTime m_lastPlayed
 
CDateTime m_dateNew
 
CDateTime m_dateAdded
 
CDateTime m_dateUpdated
 
bool m_bCompilation
 
int m_iDuration
 
int m_iTrack
 
int m_iDbId
 
MediaType m_type
 item type "music", "song", "album", "artist"
 
bool m_bLoaded
 
float m_Rating
 
int m_Userrating
 
int m_Votes
 
int m_listeners
 
int m_iTimesPlayed
 
int m_iAlbumId
 
int m_iDiscTotal
 
bool m_bBoxset
 
int m_iBPM
 
CAlbum::ReleaseType m_albumReleaseType
 
std::string m_strReleaseStatus
 
int m_samplerate
 
int m_channels
 
int m_bitrate
 
std::string m_stationName
 
std::string m_stationArt
 
std::string m_songVideoURL
 
EmbeddedArtInfo m_coverArt
 art information
 
ReplayGain m_replayGain
 ReplayGain information.
 

Constructor & Destructor Documentation

◆ CMusicInfoTag()

CMusicInfoTag::CMusicInfoTag ( void )

Member Function Documentation

◆ AddArtistRole() [1/2]

void CMusicInfoTag::AddArtistRole ( const std::string & Role,
const std::string & strArtist )

◆ AddArtistRole() [2/2]

void CMusicInfoTag::AddArtistRole ( const std::string & Role,
const std::vector< std::string > & artists )

◆ AddOriginalDate()

void CMusicInfoTag::AddOriginalDate ( const std::string & strDateYear)

◆ AddReleaseDate()

void CMusicInfoTag::AddReleaseDate ( const std::string & strDateYear,
bool isMonth = false )

◆ AppendAlbumArtist()

void CMusicInfoTag::AppendAlbumArtist ( const std::string & albumArtist)

Append a unique album artist to the artist list Checks if we have this album artist already added, and if not adds it to the songs album artist list.

Parameters
albumArtistalbum artist to add.

◆ AppendArtist()

void CMusicInfoTag::AppendArtist ( const std::string & artist)

Append a unique artist to the artist list Checks if we have this artist already added, and if not adds it to the songs artist list.

Parameters
valueartist to add.

◆ AppendArtistRole()

void CMusicInfoTag::AppendArtistRole ( const CMusicRole & ArtistRole)

◆ AppendGenre()

void CMusicInfoTag::AppendGenre ( const std::string & genre)

Append a unique genre to the genre list Checks if we have this genre already added, and if not adds it to the songs genre list.

Parameters
genregenre to add.

◆ Archive()

void CMusicInfoTag::Archive ( CArchive & ar)
overridevirtual

Implements IArchivable.

◆ Clear()

void CMusicInfoTag::Clear ( )

◆ GetAlbum()

const std::string & CMusicInfoTag::GetAlbum ( ) const

◆ GetAlbumArtist()

const std::vector< std::string > & CMusicInfoTag::GetAlbumArtist ( ) const

◆ GetAlbumArtistSort()

const std::string & CMusicInfoTag::GetAlbumArtistSort ( ) const

◆ GetAlbumArtistString()

const std::string CMusicInfoTag::GetAlbumArtistString ( ) const

◆ GetAlbumId()

int CMusicInfoTag::GetAlbumId ( ) const

◆ GetAlbumReleaseStatus()

const std::string & CMusicInfoTag::GetAlbumReleaseStatus ( ) const

◆ GetAlbumReleaseType()

CAlbum::ReleaseType CMusicInfoTag::GetAlbumReleaseType ( ) const

◆ GetArtist()

const std::vector< std::string > & CMusicInfoTag::GetArtist ( ) const

◆ GetArtistSort()

const std::string & CMusicInfoTag::GetArtistSort ( ) const

◆ GetArtistString()

const std::string CMusicInfoTag::GetArtistString ( ) const

◆ GetArtistStringForRole()

const std::string CMusicInfoTag::GetArtistStringForRole ( const std::string & strRole) const

◆ GetBitRate()

int CMusicInfoTag::GetBitRate ( ) const

◆ GetBoxset()

bool CMusicInfoTag::GetBoxset ( ) const

◆ GetBPM()

int CMusicInfoTag::GetBPM ( ) const

◆ GetComment()

const std::string & CMusicInfoTag::GetComment ( ) const

◆ GetCompilation()

bool CMusicInfoTag::GetCompilation ( ) const

◆ GetComposerSort()

const std::string & CMusicInfoTag::GetComposerSort ( ) const

◆ GetContributors()

const VECMUSICROLES & CMusicInfoTag::GetContributors ( ) const

◆ GetContributorsAndRolesText()

const std::string CMusicInfoTag::GetContributorsAndRolesText ( ) const

◆ GetContributorsText()

const std::string CMusicInfoTag::GetContributorsText ( ) const

◆ GetCoverArtInfo()

const EmbeddedArtInfo & CMusicInfoTag::GetCoverArtInfo ( ) const

◆ GetCueSheet()

const std::string & CMusicInfoTag::GetCueSheet ( ) const

◆ GetDatabaseId()

int CMusicInfoTag::GetDatabaseId ( ) const

◆ GetDateAdded()

const CDateTime & CMusicInfoTag::GetDateAdded ( ) const

◆ GetDiscNumber()

int CMusicInfoTag::GetDiscNumber ( ) const

◆ GetDiscSubtitle()

const std::string & CMusicInfoTag::GetDiscSubtitle ( ) const

◆ GetDuration()

int CMusicInfoTag::GetDuration ( ) const

◆ GetGenre()

const std::vector< std::string > & CMusicInfoTag::GetGenre ( ) const

◆ GetLastPlayed()

const CDateTime & CMusicInfoTag::GetLastPlayed ( ) const

◆ GetListeners()

int CMusicInfoTag::GetListeners ( ) const

◆ GetLyrics()

const std::string & CMusicInfoTag::GetLyrics ( ) const

◆ GetMood()

const std::string & CMusicInfoTag::GetMood ( ) const

◆ GetMusicBrainzAlbumArtistHints()

const std::vector< std::string > & CMusicInfoTag::GetMusicBrainzAlbumArtistHints ( ) const

◆ GetMusicBrainzAlbumArtistID()

const std::vector< std::string > & CMusicInfoTag::GetMusicBrainzAlbumArtistID ( ) const

◆ GetMusicBrainzAlbumID()

const std::string & CMusicInfoTag::GetMusicBrainzAlbumID ( ) const

◆ GetMusicBrainzArtistHints()

const std::vector< std::string > & CMusicInfoTag::GetMusicBrainzArtistHints ( ) const

◆ GetMusicBrainzArtistID()

const std::vector< std::string > & CMusicInfoTag::GetMusicBrainzArtistID ( ) const

◆ GetMusicBrainzReleaseGroupID()

const std::string & MUSIC_INFO::CMusicInfoTag::GetMusicBrainzReleaseGroupID ( ) const

◆ GetMusicBrainzReleaseType()

const std::string & CMusicInfoTag::GetMusicBrainzReleaseType ( ) const

◆ GetMusicBrainzTrackID()

const std::string & CMusicInfoTag::GetMusicBrainzTrackID ( ) const

◆ GetNoOfChannels()

int CMusicInfoTag::GetNoOfChannels ( ) const

◆ GetOriginalDate()

const std::string & CMusicInfoTag::GetOriginalDate ( ) const

◆ GetOriginalYear()

const std::string MUSIC_INFO::CMusicInfoTag::GetOriginalYear ( ) const

◆ GetPlayCount()

int CMusicInfoTag::GetPlayCount ( ) const

◆ GetRating()

float CMusicInfoTag::GetRating ( ) const

◆ GetRecordLabel()

const std::string & CMusicInfoTag::GetRecordLabel ( ) const

◆ GetReleaseDate()

const std::string & CMusicInfoTag::GetReleaseDate ( ) const

◆ GetReleaseYear()

const std::string MUSIC_INFO::CMusicInfoTag::GetReleaseYear ( ) const

◆ GetReplayGain()

const ReplayGain & CMusicInfoTag::GetReplayGain ( ) const

◆ GetSampleRate()

int CMusicInfoTag::GetSampleRate ( ) const

◆ GetSongVideoURL()

const std::string & CMusicInfoTag::GetSongVideoURL ( ) const

◆ GetStationArt()

const std::string & CMusicInfoTag::GetStationArt ( ) const

◆ GetStationName()

const std::string & CMusicInfoTag::GetStationName ( ) const

◆ GetTitle()

const std::string & CMusicInfoTag::GetTitle ( ) const

◆ GetTotalDiscs()

int CMusicInfoTag::GetTotalDiscs ( ) const

◆ GetTrackAndDiscNumber()

int CMusicInfoTag::GetTrackAndDiscNumber ( ) const

◆ GetTrackNumber()

int CMusicInfoTag::GetTrackNumber ( ) const

◆ GetType()

const std::string & CMusicInfoTag::GetType ( ) const

◆ GetURL()

const std::string & CMusicInfoTag::GetURL ( ) const

◆ GetUserrating()

int CMusicInfoTag::GetUserrating ( ) const

◆ GetVotes()

int CMusicInfoTag::GetVotes ( ) const

◆ GetYear()

int CMusicInfoTag::GetYear ( ) const

◆ GetYearString()

std::string CMusicInfoTag::GetYearString ( ) const

◆ HasContributors()

bool MUSIC_INFO::CMusicInfoTag::HasContributors ( ) const
inline

◆ Loaded()

bool CMusicInfoTag::Loaded ( ) const

◆ operator!=()

bool CMusicInfoTag::operator!= ( const CMusicInfoTag & tag) const

◆ Serialize()

void CMusicInfoTag::Serialize ( CVariant & ar) const
overridevirtual

Implements ISerializable.

◆ SetAlbum() [1/2]

void CMusicInfoTag::SetAlbum ( const CAlbum & album)

◆ SetAlbum() [2/2]

void CMusicInfoTag::SetAlbum ( const std::string & strAlbum)

◆ SetAlbumArtist() [1/2]

void CMusicInfoTag::SetAlbumArtist ( const std::string & strAlbumArtist)

◆ SetAlbumArtist() [2/2]

void CMusicInfoTag::SetAlbumArtist ( const std::vector< std::string > & albumArtists,
bool FillDesc = false )

◆ SetAlbumArtistDesc()

void CMusicInfoTag::SetAlbumArtistDesc ( const std::string & strAlbumArtistDesc)

◆ SetAlbumArtistSort()

void CMusicInfoTag::SetAlbumArtistSort ( const std::string & strAlbumArtistSort)

◆ SetAlbumId()

void CMusicInfoTag::SetAlbumId ( const int iAlbumId)

◆ SetAlbumReleaseStatus()

void CMusicInfoTag::SetAlbumReleaseStatus ( const std::string & strReleaseStatus)

◆ SetAlbumReleaseType()

void CMusicInfoTag::SetAlbumReleaseType ( CAlbum::ReleaseType releaseType)

◆ SetArtist() [1/3]

void CMusicInfoTag::SetArtist ( const CArtist & artist)

◆ SetArtist() [2/3]

void CMusicInfoTag::SetArtist ( const std::string & strArtist)

◆ SetArtist() [3/3]

void CMusicInfoTag::SetArtist ( const std::vector< std::string > & artists,
bool FillDesc = false )

◆ SetArtistDesc()

void CMusicInfoTag::SetArtistDesc ( const std::string & strArtistDesc)

◆ SetArtistSort()

void CMusicInfoTag::SetArtistSort ( const std::string & strArtistsort)

◆ SetBitRate()

void CMusicInfoTag::SetBitRate ( int bitrate)

◆ SetBoxset()

void CMusicInfoTag::SetBoxset ( bool boxset)

◆ SetBPM()

void CMusicInfoTag::SetBPM ( int iBPM)

◆ SetComment()

void CMusicInfoTag::SetComment ( const std::string & comment)

◆ SetCompilation()

void CMusicInfoTag::SetCompilation ( bool compilation)

◆ SetComposerSort()

void CMusicInfoTag::SetComposerSort ( const std::string & strComposerSort)

◆ SetContributors()

void CMusicInfoTag::SetContributors ( const VECMUSICROLES & contributors)

◆ SetCoverArtInfo()

void CMusicInfoTag::SetCoverArtInfo ( size_t size,
const std::string & mimeType )

◆ SetCueSheet()

void CMusicInfoTag::SetCueSheet ( const std::string & cueSheet)

◆ SetDatabaseId()

void CMusicInfoTag::SetDatabaseId ( int id,
const std::string & type )

◆ SetDateAdded() [1/2]

void CMusicInfoTag::SetDateAdded ( const CDateTime & dateAdded)

◆ SetDateAdded() [2/2]

void CMusicInfoTag::SetDateAdded ( const std::string & strDateAdded)

◆ SetDateNew() [1/2]

void MUSIC_INFO::CMusicInfoTag::SetDateNew ( const CDateTime & dateNew)

◆ SetDateNew() [2/2]

void MUSIC_INFO::CMusicInfoTag::SetDateNew ( const std::string & strDateNew)

◆ SetDateUpdated() [1/2]

void MUSIC_INFO::CMusicInfoTag::SetDateUpdated ( const CDateTime & dateUpdated)

◆ SetDateUpdated() [2/2]

void MUSIC_INFO::CMusicInfoTag::SetDateUpdated ( const std::string & strDateUpdated)

◆ SetDiscNumber()

void CMusicInfoTag::SetDiscNumber ( int iDiscNumber)

◆ SetDiscSubtitle()

void CMusicInfoTag::SetDiscSubtitle ( const std::string & strDiscSubtitle)

◆ SetDuration()

void CMusicInfoTag::SetDuration ( int iSec)

◆ SetGenre() [1/2]

void CMusicInfoTag::SetGenre ( const std::string & strGenre,
bool bTrim = false )

◆ SetGenre() [2/2]

void CMusicInfoTag::SetGenre ( const std::vector< std::string > & genres,
bool bTrim = false )

◆ SetLastPlayed() [1/2]

void CMusicInfoTag::SetLastPlayed ( const CDateTime & strLastPlayed)

◆ SetLastPlayed() [2/2]

void CMusicInfoTag::SetLastPlayed ( const std::string & strLastPlayed)

◆ SetListeners()

void CMusicInfoTag::SetListeners ( int listeners)

◆ SetLoaded()

void CMusicInfoTag::SetLoaded ( bool bOnOff = true)

◆ SetLyrics()

void CMusicInfoTag::SetLyrics ( const std::string & lyrics)

◆ SetMood()

void CMusicInfoTag::SetMood ( const std::string & mood)

◆ SetMusicBrainzAlbumArtistHints()

void CMusicInfoTag::SetMusicBrainzAlbumArtistHints ( const std::vector< std::string > & musicBrainzAlbumArtistHints)

◆ SetMusicBrainzAlbumArtistID()

void CMusicInfoTag::SetMusicBrainzAlbumArtistID ( const std::vector< std::string > & musicBrainzAlbumArtistId)

◆ SetMusicBrainzAlbumID()

void CMusicInfoTag::SetMusicBrainzAlbumID ( const std::string & strAlbumID)

◆ SetMusicBrainzArtistHints()

void CMusicInfoTag::SetMusicBrainzArtistHints ( const std::vector< std::string > & musicBrainzArtistHints)

◆ SetMusicBrainzArtistID()

void CMusicInfoTag::SetMusicBrainzArtistID ( const std::vector< std::string > & musicBrainzArtistId)

◆ SetMusicBrainzReleaseGroupID()

void MUSIC_INFO::CMusicInfoTag::SetMusicBrainzReleaseGroupID ( const std::string & strReleaseGroupID)

◆ SetMusicBrainzReleaseType()

void CMusicInfoTag::SetMusicBrainzReleaseType ( const std::string & ReleaseType)

◆ SetMusicBrainzTrackID()

void CMusicInfoTag::SetMusicBrainzTrackID ( const std::string & strTrackID)

◆ SetNoOfChannels()

void CMusicInfoTag::SetNoOfChannels ( int channels)

◆ SetOriginalDate()

void CMusicInfoTag::SetOriginalDate ( const std::string & strOriginalDate)

◆ SetPlayCount()

void CMusicInfoTag::SetPlayCount ( int playcount)

◆ SetRating()

void CMusicInfoTag::SetRating ( float rating)

◆ SetRecordLabel()

void CMusicInfoTag::SetRecordLabel ( const std::string & publisher)

◆ SetReleaseDate()

void CMusicInfoTag::SetReleaseDate ( const std::string & strReleaseDate)

◆ SetReplayGain()

void CMusicInfoTag::SetReplayGain ( const ReplayGain & aGain)

◆ SetSampleRate()

void CMusicInfoTag::SetSampleRate ( int samplerate)

◆ SetSong()

void CMusicInfoTag::SetSong ( const CSong & song)

◆ SetSongVideoURL()

void CMusicInfoTag::SetSongVideoURL ( const std::string & songVideoURL)

◆ SetStationArt()

void CMusicInfoTag::SetStationArt ( const std::string & strStationArt)

◆ SetStationName()

void CMusicInfoTag::SetStationName ( const std::string & strStationName)

◆ SetTitle()

void CMusicInfoTag::SetTitle ( const std::string & strTitle)

◆ SetTotalDiscs()

void CMusicInfoTag::SetTotalDiscs ( int iDiscTotal)

◆ SetTrackAndDiscNumber()

void CMusicInfoTag::SetTrackAndDiscNumber ( int iTrackAndDisc)

◆ SetTrackNumber()

void CMusicInfoTag::SetTrackNumber ( int iTrack)

◆ SetType()

void CMusicInfoTag::SetType ( const MediaType & mediaType)

◆ SetURL()

void CMusicInfoTag::SetURL ( const std::string & strURL)

◆ SetUserrating()

void CMusicInfoTag::SetUserrating ( int rating)

◆ SetVotes()

void CMusicInfoTag::SetVotes ( int votes)

◆ SetYear()

void CMusicInfoTag::SetYear ( int year)

◆ ToSortable()

void CMusicInfoTag::ToSortable ( SortItem & sortable,
Field field ) const
overridevirtual

Implements ISortable.

◆ Trim()

std::string CMusicInfoTag::Trim ( const std::string & value) const
protected

Trim whitespace off the given string.

Parameters
valuestring to trim
Returns
trimmed value, with spaces removed from left and right, as well as carriage returns from the right.

Member Data Documentation

◆ m_albumArtist

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_albumArtist
protected

◆ m_albumReleaseType

CAlbum::ReleaseType MUSIC_INFO::CMusicInfoTag::m_albumReleaseType
protected

◆ m_artist

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_artist
protected

◆ m_bBoxset

bool MUSIC_INFO::CMusicInfoTag::m_bBoxset
protected

◆ m_bCompilation

bool MUSIC_INFO::CMusicInfoTag::m_bCompilation
protected

◆ m_bitrate

int MUSIC_INFO::CMusicInfoTag::m_bitrate
protected

◆ m_bLoaded

bool MUSIC_INFO::CMusicInfoTag::m_bLoaded
protected

◆ m_channels

int MUSIC_INFO::CMusicInfoTag::m_channels
protected

◆ m_coverArt

EmbeddedArtInfo MUSIC_INFO::CMusicInfoTag::m_coverArt
protected

art information

◆ m_cuesheet

std::string MUSIC_INFO::CMusicInfoTag::m_cuesheet
protected

◆ m_dateAdded

CDateTime MUSIC_INFO::CMusicInfoTag::m_dateAdded
protected

◆ m_dateNew

CDateTime MUSIC_INFO::CMusicInfoTag::m_dateNew
protected

◆ m_dateUpdated

CDateTime MUSIC_INFO::CMusicInfoTag::m_dateUpdated
protected

◆ m_genre

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_genre
protected

◆ m_iAlbumId

int MUSIC_INFO::CMusicInfoTag::m_iAlbumId
protected

◆ m_iBPM

int MUSIC_INFO::CMusicInfoTag::m_iBPM
protected

◆ m_iDbId

int MUSIC_INFO::CMusicInfoTag::m_iDbId
protected

◆ m_iDiscTotal

int MUSIC_INFO::CMusicInfoTag::m_iDiscTotal
protected

◆ m_iDuration

int MUSIC_INFO::CMusicInfoTag::m_iDuration
protected

◆ m_iTimesPlayed

int MUSIC_INFO::CMusicInfoTag::m_iTimesPlayed
protected

◆ m_iTrack

int MUSIC_INFO::CMusicInfoTag::m_iTrack
protected

◆ m_lastPlayed

CDateTime MUSIC_INFO::CMusicInfoTag::m_lastPlayed
protected

◆ m_listeners

int MUSIC_INFO::CMusicInfoTag::m_listeners
protected

◆ m_musicBrainzAlbumArtistHints

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_musicBrainzAlbumArtistHints
protected

◆ m_musicBrainzAlbumArtistID

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_musicBrainzAlbumArtistID
protected

◆ m_musicBrainzArtistHints

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_musicBrainzArtistHints
protected

◆ m_musicBrainzArtistID

std::vector<std::string> MUSIC_INFO::CMusicInfoTag::m_musicBrainzArtistID
protected

◆ m_musicRoles

VECMUSICROLES MUSIC_INFO::CMusicInfoTag::m_musicRoles
protected

◆ m_Rating

float MUSIC_INFO::CMusicInfoTag::m_Rating
protected

◆ m_replayGain

ReplayGain MUSIC_INFO::CMusicInfoTag::m_replayGain
protected

ReplayGain information.

◆ m_samplerate

int MUSIC_INFO::CMusicInfoTag::m_samplerate
protected

◆ m_songVideoURL

std::string MUSIC_INFO::CMusicInfoTag::m_songVideoURL
protected

◆ m_stationArt

std::string MUSIC_INFO::CMusicInfoTag::m_stationArt
protected

◆ m_stationName

std::string MUSIC_INFO::CMusicInfoTag::m_stationName
protected

◆ m_strAlbum

std::string MUSIC_INFO::CMusicInfoTag::m_strAlbum
protected

◆ m_strAlbumArtistDesc

std::string MUSIC_INFO::CMusicInfoTag::m_strAlbumArtistDesc
protected

◆ m_strAlbumArtistSort

std::string MUSIC_INFO::CMusicInfoTag::m_strAlbumArtistSort
protected

◆ m_strArtistDesc

std::string MUSIC_INFO::CMusicInfoTag::m_strArtistDesc
protected

◆ m_strArtistSort

std::string MUSIC_INFO::CMusicInfoTag::m_strArtistSort
protected

◆ m_strComment

std::string MUSIC_INFO::CMusicInfoTag::m_strComment
protected

◆ m_strComposerSort

std::string MUSIC_INFO::CMusicInfoTag::m_strComposerSort
protected

◆ m_strDiscSubtitle

std::string MUSIC_INFO::CMusicInfoTag::m_strDiscSubtitle
protected

◆ m_strLyrics

std::string MUSIC_INFO::CMusicInfoTag::m_strLyrics
protected

◆ m_strMood

std::string MUSIC_INFO::CMusicInfoTag::m_strMood
protected

◆ m_strMusicBrainzAlbumID

std::string MUSIC_INFO::CMusicInfoTag::m_strMusicBrainzAlbumID
protected

◆ m_strMusicBrainzReleaseGroupID

std::string MUSIC_INFO::CMusicInfoTag::m_strMusicBrainzReleaseGroupID
protected

◆ m_strMusicBrainzReleaseType

std::string MUSIC_INFO::CMusicInfoTag::m_strMusicBrainzReleaseType
protected

◆ m_strMusicBrainzTrackID

std::string MUSIC_INFO::CMusicInfoTag::m_strMusicBrainzTrackID
protected

◆ m_strOriginalDate

std::string MUSIC_INFO::CMusicInfoTag::m_strOriginalDate
protected

◆ m_strRecordLabel

std::string MUSIC_INFO::CMusicInfoTag::m_strRecordLabel
protected

◆ m_strReleaseDate

std::string MUSIC_INFO::CMusicInfoTag::m_strReleaseDate
protected

◆ m_strReleaseStatus

std::string MUSIC_INFO::CMusicInfoTag::m_strReleaseStatus
protected

◆ m_strTitle

std::string MUSIC_INFO::CMusicInfoTag::m_strTitle
protected

◆ m_strURL

std::string MUSIC_INFO::CMusicInfoTag::m_strURL
protected

◆ m_type

MediaType MUSIC_INFO::CMusicInfoTag::m_type
protected

item type "music", "song", "album", "artist"

◆ m_Userrating

int MUSIC_INFO::CMusicInfoTag::m_Userrating
protected

◆ m_Votes

int MUSIC_INFO::CMusicInfoTag::m_Votes
protected

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