diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-11-10 15:18:36 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-11-10 15:18:36 +0100 |
commit | e0928bf3ef62babf2545c9ebfa646390853adb44 (patch) | |
tree | 56feb157766621e13ce48aa2d97d5af112a91133 | |
parent | 24e67055d23bc8faa37506c23b29312429162780 (diff) | |
download | xine-lib-e0928bf3ef62babf2545c9ebfa646390853adb44.tar.gz xine-lib-e0928bf3ef62babf2545c9ebfa646390853adb44.tar.bz2 |
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.
-rw-r--r-- | src/input/input_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |