diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-17 10:54:24 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-17 12:09:22 +0100 |
commit | 3bce4a6a8648c91b6ddea478116b3b0679ef4648 (patch) | |
tree | 752ddb7f13ba774998fefd052f6dd1c387e4e882 /plugins/radio/radio-api.c | |
parent | 07fb99ec63d034983b768e8b8bd3d2b30ae37f6f (diff) |
Final modifications for Radio-Audio API communication
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/radio/radio-api.c')
-rw-r--r-- | plugins/radio/radio-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/radio/radio-api.c b/plugins/radio/radio-api.c index f065a8ad..8754b63c 100644 --- a/plugins/radio/radio-api.c +++ b/plugins/radio/radio-api.c @@ -298,7 +298,7 @@ STATIC json_object* play (AFB_request *request) { /* AFB_SESSION_CHECK */ /* radio stop */ ctx->is_playing = 0; _radio_stop (ctx->idx); - json_object_object_add (jresp, "play-on", json_object_new_string ("off")); + json_object_object_add (jresp, "play", json_object_new_string ("off")); } return jresp; |