From af5e954d020240cc5c7f18778394bea51d9a2072 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 21 May 2003 23:52:32 +0000 Subject: - removed work-around for NSV streams from Nullsoft CVS patchset: 4900 CVS date: 2003/05/21 23:52:32 --- src/input/input_http.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/input/input_http.c b/src/input/input_http.c index 1b06d57a7..96c83f489 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -758,16 +758,9 @@ static int http_plugin_open (input_plugin_t *this_gen ) { if (this->user != NULL) sprintf (this->buf + strlen(this->buf), "Authorization: Basic %s\015\012", this->auth); - - if (!strncmp(this->filename + strlen(this->filename) - 4, ".nsv", 4)) { -#ifdef LOG - printf("input_http: using winamp http user-agent\n"); -#endif - strcat (this->buf, "User-Agent: Nullsoft Winamp3 version 3.0d build 488\015\012"); - } else { - sprintf (this->buf + strlen(this->buf), "User-Agent: xine/%s\015\012", - VERSION); - } + + sprintf (this->buf + strlen(this->buf), "User-Agent: xine/%s\015\012", + VERSION); strcat (this->buf, "Accept: */*\015\012"); strcat (this->buf, "Icy-MetaData: 1\015\012"); -- cgit v1.2.3