Unbreak: pandora.com changed api (again)

This commit is contained in:
dcoppa 2011-09-22 09:22:41 +00:00
parent b2cd819e66
commit d421a5ffd4
3 changed files with 26 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2011/09/16 08:26:10 espie Exp $
# $OpenBSD: Makefile,v 1.20 2011/09/22 09:22:41 dcoppa Exp $
COMMENT = console client for pandora
DISTNAME = pianobar-2011.07.09
REVISION = 2
REVISION = 3
EXTRACT_SUFX = .tar.bz2
CATEGORIES = audio

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_libpiano_piano_c,v 1.1 2011/09/22 09:22:41 dcoppa Exp $
--- src/libpiano/piano.c.orig Thu Sep 22 10:58:36 2011
+++ src/libpiano/piano.c Thu Sep 22 10:58:55 2011
@@ -39,7 +39,7 @@ THE SOFTWARE.
#include "crypt.h"
#include "config.h"
-#define PIANO_PROTOCOL_VERSION "31"
+#define PIANO_PROTOCOL_VERSION "32"
#define PIANO_RPC_HOST "www.pandora.com"
#define PIANO_RPC_PORT "80"
#define PIANO_RPC_PATH "/radio/xmlrpc/v" PIANO_PROTOCOL_VERSION "?"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_main_c,v 1.3 2011/09/22 09:22:41 dcoppa Exp $
--- src/main.c.orig Thu Sep 22 10:57:52 2011
+++ src/main.c Thu Sep 22 10:58:21 2011
@@ -92,7 +92,7 @@ static void BarMainGetLoginCredentials (BarSettings_t
BarReadlineFds_t *input) {
if (settings->username == NULL) {
char nameBuf[100];
- BarUiMsg (settings, MSG_QUESTION, "Username: ");
+ BarUiMsg (settings, MSG_QUESTION, "Email: ");
BarReadlineStr (nameBuf, sizeof (nameBuf), input, BAR_RL_DEFAULT);
settings->username = strdup (nameBuf);
}