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

#include <PartyModeManager.h>

Public Member Functions

 CPartyModeManager (void)
 
bool Enable (PartyModeContext context=PARTYMODECONTEXT_MUSIC, const std::string &strXspPath="")
 
void Disable ()
 
void Play (int iPos)
 
void OnSongChange (bool bUpdatePlayed=false)
 
void AddUserSongs (KODI::PLAYLIST::CPlayList &tempList, bool bPlay=false)
 
void AddUserSongs (CFileItemList &tempList, bool bPlay=false)
 
bool IsEnabled (PartyModeContext context=PARTYMODECONTEXT_UNKNOWN) const
 
int GetSongsPlayed ()
 
int GetMatchingSongs ()
 
int GetMatchingSongsPicked ()
 
int GetMatchingSongsLeft ()
 
int GetRelaxedSongs ()
 
int GetRandomSongs ()
 
PartyModeContext GetType () const
 

Constructor & Destructor Documentation

◆ CPartyModeManager()

CPartyModeManager::CPartyModeManager ( void )

Member Function Documentation

◆ AddUserSongs() [1/2]

void CPartyModeManager::AddUserSongs ( CFileItemList & tempList,
bool bPlay = false )

◆ AddUserSongs() [2/2]

void CPartyModeManager::AddUserSongs ( KODI::PLAYLIST::CPlayList & tempList,
bool bPlay = false )

◆ Disable()

void CPartyModeManager::Disable ( )

◆ Enable()

bool CPartyModeManager::Enable ( PartyModeContext context = PARTYMODECONTEXT_MUSIC,
const std::string & strXspPath = "" )

◆ GetMatchingSongs()

int CPartyModeManager::GetMatchingSongs ( )

◆ GetMatchingSongsLeft()

int CPartyModeManager::GetMatchingSongsLeft ( )

◆ GetMatchingSongsPicked()

int CPartyModeManager::GetMatchingSongsPicked ( )

◆ GetRandomSongs()

int CPartyModeManager::GetRandomSongs ( )

◆ GetRelaxedSongs()

int CPartyModeManager::GetRelaxedSongs ( )

◆ GetSongsPlayed()

int CPartyModeManager::GetSongsPlayed ( )

◆ GetType()

PartyModeContext CPartyModeManager::GetType ( ) const

◆ IsEnabled()

bool CPartyModeManager::IsEnabled ( PartyModeContext context = PARTYMODECONTEXT_UNKNOWN) const

◆ OnSongChange()

void CPartyModeManager::OnSongChange ( bool bUpdatePlayed = false)

◆ Play()

void CPartyModeManager::Play ( int iPos)

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