From c4330c3f65b2eacd3433ba19b1483f6704303205 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Fri, 11 May 2012 12:53:34 +0200
Subject: piano: Add stationToken to addFeedback request

Fixes thumbs up/down and move song.
---
 src/libpiano/request.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libpiano/request.c b/src/libpiano/request.c
index 7b73bc1..35124f4 100644
--- a/src/libpiano/request.c
+++ b/src/libpiano/request.c
@@ -175,8 +175,11 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
 			
 			assert (reqData != NULL);
 			assert (reqData->trackToken != NULL);
+			assert (reqData->stationId != NULL);
 			assert (reqData->rating != PIANO_RATE_NONE);
 
+			json_object_object_add (j, "stationToken",
+					json_object_new_string (reqData->stationId));
 			json_object_object_add (j, "trackToken",
 					json_object_new_string (reqData->trackToken));
 			json_object_object_add (j, "isPositive",
-- 
cgit v1.2.3