summaryrefslogtreecommitdiff
path: root/src/libpiano/response.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-06-26 18:17:54 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-06-26 18:20:18 +0200
commit845cf4c1bdae57e8ed59bc3bb6fcaa7464c8904e (patch)
treec2e5d52bbd8899ed001585abae2c336fd06d14da /src/libpiano/response.c
parentf2d6dc360a7385dd490832bf9fb391addcb250a0 (diff)
downloadpianobar-windows-845cf4c1bdae57e8ed59bc3bb6fcaa7464c8904e.tar.gz
pianobar-windows-845cf4c1bdae57e8ed59bc3bb6fcaa7464c8904e.tar.bz2
pianobar-windows-845cf4c1bdae57e8ed59bc3bb6fcaa7464c8904e.zip
piano: Remove move song
Doesn’t work with JSON API. See #280.
Diffstat (limited to 'src/libpiano/response.c')
-rw-r--r--src/libpiano/response.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libpiano/response.c b/src/libpiano/response.c
index 659ed2d..1b63bee 100644
--- a/src/libpiano/response.c
+++ b/src/libpiano/response.c
@@ -334,21 +334,6 @@ PianoReturn_t PianoResponse (PianoHandle_t *ph, PianoRequest_t *req) {
break;
}
- case PIANO_REQUEST_MOVE_SONG: {
- /* move song to different station */
- PianoRequestDataMoveSong_t *reqData = req->data;
-
- assert (req->responseData != NULL);
- assert (reqData != NULL);
- assert (reqData->step < 2);
-
- if (reqData->step == 0) {
- ret = PIANO_RET_CONTINUE_REQUEST;
- ++reqData->step;
- }
- break;
- }
-
case PIANO_REQUEST_DELETE_STATION: {
/* delete station from server and station list */
PianoStation_t *station = req->data;