Merge branch 'addid-with-pos' of git://github.com/ewollesen/MPD
This commit is contained in:
commit
e83685d667
@ -122,6 +122,7 @@ handle_addid(Client &client, Request args, Response &r)
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
client.partition.MoveId(added_id, to);
|
client.partition.MoveId(added_id, to);
|
||||||
|
r.Format("Id: %u\n", added_id);
|
||||||
return CommandResult::OK;
|
return CommandResult::OK;
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
/* rollback */
|
/* rollback */
|
||||||
|
Loading…
Reference in New Issue
Block a user