From 30d31f709e7bffda8fe1b9275f0919cc7c13e546 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 7 Oct 2010 10:51:05 +0200 Subject: Protocol version bump (v28) New crypto keys and a small change in setQuickmix rpc call. --- libpiano/src/piano.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libpiano/src/piano.c') diff --git a/libpiano/src/piano.c b/libpiano/src/piano.c index bb3cf23..4354fa6 100644 --- a/libpiano/src/piano.c +++ b/libpiano/src/piano.c @@ -39,7 +39,7 @@ THE SOFTWARE. #include "crypt.h" #include "config.h" -#define PIANO_PROTOCOL_VERSION "27" +#define PIANO_PROTOCOL_VERSION "28" #define PIANO_RPC_HOST "www.pandora.com" #define PIANO_RPC_PORT "80" #define PIANO_RPC_PATH "/radio/xmlrpc/v" PIANO_PROTOCOL_VERSION "?" @@ -541,11 +541,14 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req, } } strncat (xmlSendBuf, - "", + "" + "CUSTOM" + "" + "", sizeof (xmlSendBuf) - strlen (xmlSendBuf) - 1); snprintf (req->urlPath, sizeof (req->urlPath), PIANO_RPC_PATH - "rid=%s&lid=%s&method=setQuickMix&arg1=RANDOM&arg2=%s", + "rid=%s&lid=%s&method=setQuickMix&arg1=RANDOM&arg2=%s&arg3=CUSTOM&arg4=", ph->routeId, ph->user.listenerId, urlArgBuf); break; } -- cgit v1.2.3