From e0928bf3ef62babf2545c9ebfa646390853adb44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 10 Nov 2007 15:18:36 +0100 Subject: Fix detection of last.fm servers. I'm not sure whether they changed the Server response to the current "last.fm proxy streamer" or if depending of what server you hit it answer that rather than the previous "last.fm Streaming Server", so for now just look if the Server response starts with "last.fm", which covers both cases. --- src/input/input_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/input/input_http.c b/src/input/input_http.c index 9c6d1d2a2..e90ee5d99 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -64,7 +64,7 @@ #define TAG_ICY_NOTICE2 "icy-notice2:" #define TAG_ICY_METAINT "icy-metaint:" #define TAG_CONTENT_TYPE "Content-Type:" -#define TAG_LASTFM_SERVER "Server: last.fm Streaming Server" +#define TAG_LASTFM_SERVER "Server: last.fm " typedef struct { input_plugin_t input_plugin; -- cgit v1.2.3