do not store commands list in MPD::Connection
it should have sent commandlist begin and end commands from the beginning, having separated functions just to handle queueing commands was plainly ugly.
This commit is contained in:
@@ -2066,7 +2066,7 @@ void mpd_sendPlaylistMoveCommand(mpd_Connection *connection,
|
||||
}
|
||||
|
||||
void mpd_sendPlaylistDeleteCommand(mpd_Connection *connection,
|
||||
char *playlist, int pos)
|
||||
const char *playlist, int pos)
|
||||
{
|
||||
char *sPlaylist = mpd_sanitizeArg(playlist);
|
||||
int len = strlen("playlistdelete")+2+strlen(sPlaylist)+3+INTLEN+3;
|
||||
|
||||
Reference in New Issue
Block a user