fix MPD::Connection::Add()
This commit is contained in:
@@ -857,12 +857,12 @@ void Connection::Add(const std::string &path)
|
|||||||
if (!isCommandsListEnabled)
|
if (!isCommandsListEnabled)
|
||||||
{
|
{
|
||||||
GoBusy();
|
GoBusy();
|
||||||
mpd_send_add(itsConnection, path.c_str());
|
mpd_run_add(itsConnection, path.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert(!isIdle);
|
assert(!isIdle);
|
||||||
mpd_run_add(itsConnection, path.c_str());
|
mpd_send_add(itsConnection, path.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user