fixed: mpd commands need a newline afterwards
This commit is contained in:
parent
f490e25be2
commit
354e99eaf3
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ bool CMpdClient::OpenSocket()
|
|||
bool CMpdClient::GetCurrentSong()
|
||||
{
|
||||
CTcpData data;
|
||||
data.SetData("currentsong");
|
||||
data.SetData("currentsong\n");
|
||||
if (m_socket.Write(data) != SUCCESS)
|
||||
{
|
||||
LogError("Writing socket: %s", m_socket.GetError().c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue