diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2017-10-07 12:02:57 +0200 | 
|---|---|---|
| committer | Michał Cichoń <michcic@gmail.com> | 2018-10-30 12:05:24 +0100 | 
| commit | eebc4b34e9f8b23f384205543e94d1278b6e63d5 (patch) | |
| tree | ed9e3091404f7fef74ceab00bc0e0f762c80edd4 /src/libpiano/request.c | |
| parent | ed3ab2743344dfe2b38427733560b9847d259c8c (diff) | |
| download | pianobar-windows-eebc4b34e9f8b23f384205543e94d1278b6e63d5.tar.gz pianobar-windows-eebc4b34e9f8b23f384205543e94d1278b6e63d5.tar.bz2 pianobar-windows-eebc4b34e9f8b23f384205543e94d1278b6e63d5.zip  | |
piano: Fetch extended attribs for station info
We can show the song length in the feedback list now.
Diffstat (limited to 'src/libpiano/request.c')
| -rw-r--r-- | src/libpiano/request.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libpiano/request.c b/src/libpiano/request.c index d678aac..0df7005 100644 --- a/src/libpiano/request.c +++ b/src/libpiano/request.c @@ -156,6 +156,7 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,  		case PIANO_REQUEST_GET_STATIONS: {  			/* get stations, user must be authenticated */  			assert (ph->user.listenerId != NULL); +  			method = "user.getStationList";  			break;  		} @@ -398,6 +399,8 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,  					json_object_new_string (reqData->station->id));  			json_object_object_add (j, "includeExtendedAttributes",  					json_object_new_boolean (true)); +			json_object_object_add (j, "includeExtraParams", +					json_object_new_boolean (true));  			method = "station.getStation";  			break;  | 
