From a17b0d5474bfd560ba5fea383b39cfeb1918dd72 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 4 Mar 2009 10:25:16 +0100 Subject: piano: Protocol version bump Unknown argument in getFragment removed. Blowfish key is the same. Thank you pandora :) --- libpiano/src/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libpiano/src') diff --git a/libpiano/src/main.c b/libpiano/src/main.c index 87b2d2b..0ba857f 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -33,7 +33,7 @@ THE SOFTWARE. #include "crypt.h" #include "config.h" -#define PIANO_PROTOCOL_VERSION "21" +#define PIANO_PROTOCOL_VERSION "22" #define PIANO_RPC_URL "http://www.pandora.com/radio/xmlrpc/v" \ PIANO_PROTOCOL_VERSION "?" #define PIANO_SECURE_RPC_URL "https://www.pandora.com/radio/xmlrpc/v" \ @@ -285,7 +285,6 @@ PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, const char *stationId, "%s" "%s" "0" - "0" "" "" "%s" @@ -294,7 +293,7 @@ PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, const char *stationId, requestStr = PianoEncryptString (xmlSendBuf); snprintf (url, sizeof (url), PIANO_RPC_URL "rid=%s&lid=%s&method=getFragment&arg1=%s&arg2=0" - "&arg3=0&arg4=&arg5=&arg6=%s", ph->routeId, + "&arg3=&arg4=&arg5=%s", ph->routeId, ph->user.listenerId, stationId, PianoAudioFormatToString (format)); -- cgit v1.2.3