summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-08-03 17:12:47 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-08-03 17:13:28 +0200
commita3eabd6f1f78d9697b5bdc070fe87a5d2b4cca6c (patch)
tree7395da030760fce9c95be93dc46853ba8cde1d86
parent30ff08768d4e508901348eb3bc9c1643e6b33f49 (diff)
downloadpianobar-windows-a3eabd6f1f78d9697b5bdc070fe87a5d2b4cca6c.tar.gz
pianobar-windows-a3eabd6f1f78d9697b5bdc070fe87a5d2b4cca6c.tar.bz2
pianobar-windows-a3eabd6f1f78d9697b5bdc070fe87a5d2b4cca6c.zip
libpiano: Fix wrong GET argument "method"
-rw-r--r--libpiano/src/piano.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpiano/src/piano.c b/libpiano/src/piano.c
index fe0393b..ebaf860 100644
--- a/libpiano/src/piano.c
+++ b/libpiano/src/piano.c
@@ -577,7 +577,7 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
ph->user.authToken, reqData->song->stationId,
reqData->song->musicId);
snprintf (req->urlPath, sizeof (req->urlPath), PIANO_RPC_PATH
- "rid=%s&lid=%s&method=method=narrative&arg1=%s&arg2=%s",
+ "rid=%s&lid=%s&method=narrative&arg1=%s&arg2=%s",
ph->routeId, ph->user.listenerId, reqData->song->stationId,
reqData->song->musicId);
break;
@@ -600,7 +600,7 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
"</params></methodCall>", (unsigned long) time (NULL),
ph->user.authToken, reqData->musicId, reqData->max);
snprintf (req->urlPath, sizeof (req->urlPath), PIANO_RPC_PATH
- "rid=%s&lid=%s&method=method=getSeedSuggestions&arg1=%s&arg2=%u",
+ "rid=%s&lid=%s&method=getSeedSuggestions&arg1=%s&arg2=%u",
ph->routeId, ph->user.listenerId, reqData->musicId, reqData->max);
break;
}
@@ -620,7 +620,7 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
"</params></methodCall>", (unsigned long) time (NULL),
ph->user.authToken, song->stationId, song->musicId);
snprintf (req->urlPath, sizeof (req->urlPath), PIANO_RPC_PATH
- "rid=%s&lid=%s&method=method=createBookmark&arg1=%s&arg2=%s",
+ "rid=%s&lid=%s&method=createBookmark&arg1=%s&arg2=%s",
ph->routeId, ph->user.listenerId, song->stationId,
song->musicId);
break;
@@ -640,7 +640,7 @@ PianoReturn_t PianoRequest (PianoHandle_t *ph, PianoRequest_t *req,
"</params></methodCall>", (unsigned long) time (NULL),
ph->user.authToken, song->artistMusicId);
snprintf (req->urlPath, sizeof (req->urlPath), PIANO_RPC_PATH
- "rid=%s&lid=%s&method=method=createArtistBookmark&arg1=%s",
+ "rid=%s&lid=%s&method=createArtistBookmark&arg1=%s",
ph->routeId, ph->user.listenerId, song->artistMusicId);
break;
}