NowPlayingPlugin: Added SHUFFLE and REPEAT types and accompanying SetShuffle and SetRepeat bangs

This commit is contained in:
Birunthan Mohanathas
2011-09-11 08:22:07 +00:00
parent 6cce1c2233
commit 6b5ca293e8
13 changed files with 271 additions and 65 deletions

View File

@ -34,6 +34,8 @@ CPlayer::CPlayer() :
m_TrackCount(),
m_Measures(),
m_State(),
m_Shuffle(false),
m_Repeat(false),
m_Duration(),
m_Position(),
m_Rating(),
@ -237,9 +239,6 @@ unsigned __stdcall CPlayer::LyricsThreadProc(void* pParam)
*/
void CPlayer::ClearData()
{
m_Duration = 0;
m_Position = 0;
m_Rating = 0;
m_State = PLAYER_STOPPED;
m_Artist.clear();
m_Album.clear();
@ -247,4 +246,7 @@ void CPlayer::ClearData()
m_Lyrics.clear();
m_FilePath.clear();
m_CoverPath.clear();
m_Duration = 0;
m_Position = 0;
m_Rating = 0;
}