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,9 +31,14 @@ void CMpdClient::Process()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GetCurrentSong())
|
if (!GetCurrentSong())
|
||||||
|
{
|
||||||
m_socket.Close();
|
m_socket.Close();
|
||||||
|
USleep(10000000);
|
||||||
USleep(1000000);
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
USleep(1000000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue