From 762f9c005d5676459d0a8d542133fa636be86032 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 21 Nov 2011 13:07:14 +0100 Subject: piano: Update authenticateListener parameters There are a few more parameters which I did not notice, since Pandora uses a strange JSON API (which returns XML!) for authentication now. See issue #187. --- src/libpiano/piano.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/libpiano') diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c index b1e7f01..14c4486 100644 --- a/src/libpiano/piano.c +++ b/src/libpiano/piano.c @@ -268,8 +268,16 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req, "" "listener.authenticateListener" "%lu" + /* user */ "%s" + /* password */ "%s" + /* vendor */ + "html5tuner" + "" + "" + "HTML5" + "1" "", (unsigned long) timestamp, logindata->user, xmlencodedPassword); snprintf (req->urlPath, sizeof (req->urlPath), PIANO_RPC_PATH -- cgit v1.2.3