diff --git a/src/mpdclient.cpp b/src/mpdclient.cpp index ccf7a49..2edf06f 100644 --- a/src/mpdclient.cpp +++ b/src/mpdclient.cpp @@ -31,9 +31,14 @@ void CMpdClient::Process() } if (!GetCurrentSong()) + { m_socket.Close(); - - USleep(1000000); + USleep(10000000); + } + else + { + USleep(1000000); + } } }