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