aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-01-26 12:46:56 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-26 12:46:56 +0000
commit9eee1a81cf99d351d78bd6550dfa6646be364f3e (patch)
treea99b8aee871f0456e08e9c2e95c0f889aeb6e19c /src/main.c
parent2889b576eb32828df652505b90c8ea1d7d258509 (diff)
downloadmpd-9eee1a81cf99d351d78bd6550dfa6646be364f3e.tar.gz
mpd-9eee1a81cf99d351d78bd6550dfa6646be364f3e.tar.xz
mpd-9eee1a81cf99d351d78bd6550dfa6646be364f3e.zip
command: allow "addid" command to take an optional second argument, position
This will allow "addid \"song_url\" <pos>" to atomically insert a song at any given playlist position. If the add succeeds, but the actual movement fails (due to invalid position), then the song_id will be deleted before the command returns back to the client, and the client will get an error response. git-svn-id: https://svn.musicpd.org/mpd/trunk@7151 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions