26 PARTYMODECONTEXT_UNKNOWN,
27 PARTYMODECONTEXT_MUSIC,
28 PARTYMODECONTEXT_VIDEO
36 bool Enable(PartyModeContext context=PARTYMODECONTEXT_MUSIC,
const std::string& strXspPath =
"");
39 void OnSongChange(
bool bUpdatePlayed =
false);
41 void AddUserSongs(
CFileItemList& tempList,
bool bPlay =
false);
42 bool IsEnabled(PartyModeContext context=PARTYMODECONTEXT_UNKNOWN)
const;
44 int GetMatchingSongs();
45 int GetMatchingSongsPicked();
46 int GetMatchingSongsLeft();
47 int GetRelaxedSongs();
49 PartyModeContext GetType()
const;
53 bool AddRandomSongs();
54 void Add(CFileItemPtr &pItem);
57 void SendUpdateMessage();
58 void OnError(
int iError,
const std::string& strLogMessage);
62 PLAYLIST::Id GetPlaylistId()
const;
73 int m_iMatchingSongsPicked;
74 int m_iMatchingSongsLeft;
79 std::vector<std::pair<int, int>> m_songIDCache;
Definition: PartyModeManager.h:31
Definition: Application.h:62
std::shared_ptr< CFileItem > CFileItemPtr
A shared pointer to CFileItem.
Definition: FileItem.h:669
Represents a list of files.
Definition: FileItem.h:702
Definition: PlayList.h:23
Represents a file on a share.
Definition: FileItem.h:102