X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/cdabf44d4bf72678b402c0fd7dac394eb36513da..67d110ed0b83bd923d264c3715aea91043a4f193:/disobedience/queue.c diff --git a/disobedience/queue.c b/disobedience/queue.c index c495bd8..95ff0d5 100644 --- a/disobedience/queue.c +++ b/disobedience/queue.c @@ -205,9 +205,10 @@ static void queue_drop(struct queuelike attribute((unused)) *ql, /* Tell the server to move them. The log will tell us about the change (if * indeed it succeeds!), so no need to rearrange the model now. */ disorder_eclient_moveafter(client, + queue_drop_completed, after_me ? after_me->id : "", - ntracks, (const char **)ids, - queue_drop_completed, NULL); + (char **)ids, ntracks, + NULL); } else { /* You can't tell the server to insert after the playing track by ID, you * have to send "". */ @@ -215,9 +216,10 @@ static void queue_drop(struct queuelike attribute((unused)) *ql, after_me = NULL; /* Play the tracks */ disorder_eclient_playafter(client, + queue_drop_completed, after_me ? after_me->id : "", - ntracks, (const char **)tracks, - queue_drop_completed, NULL); + (char **)tracks, ntracks, + NULL); } }