fixed: wait 10 seconds after an error of GetCurrentSong so the error can be read on the display
This commit is contained in:
parent
8234535ffb
commit
b775565689
1 changed files with 7 additions and 2 deletions
|
@ -31,11 +31,16 @@ void CMpdClient::Process()
|
|||
}
|
||||
|
||||
if (!GetCurrentSong())
|
||||
{
|
||||
m_socket.Close();
|
||||
|
||||
USleep(10000000);
|
||||
}
|
||||
else
|
||||
{
|
||||
USleep(1000000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool CMpdClient::OpenSocket()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue