summaryrefslogtreecommitdiff
path: root/src/libpiano/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpiano/request.c')
-rw-r--r--src/libpiano/request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libpiano/request.c b/src/libpiano/request.c
index 82bf350..6d0c8e5 100644
--- a/src/libpiano/request.c
+++ b/src/libpiano/request.c
@@ -133,6 +133,8 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
json_object_object_add (j, "stationToken",
json_object_new_string (reqData->station->id));
+ json_object_object_add (j, "includeTrackLength",
+ json_object_new_boolean (true));
method = "station.getPlaylist";
break;