From e07f023cb5cdbb0c24d6dccd9f3b771078831dcb Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 31 Mar 2020 17:28:23 +0200 Subject: piano: Request all stations By default the number of stations returned is limited to 95. Adding a flag returns all stations. Fixes #693. --- src/libpiano/request.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/libpiano/request.c b/src/libpiano/request.c index 2f9c91a..35feda9 100644 --- a/src/libpiano/request.c +++ b/src/libpiano/request.c @@ -117,6 +117,9 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req, /* get stations, user must be authenticated */ assert (ph->user.listenerId != NULL); + json_object_object_add (j, "returnAllStations", + json_object_new_boolean (true)); + method = "user.getStationList"; break; } -- cgit v1.2.3