changeset 556:cd730d42b2bd trunk

[svn] - User-Agent: Audacious/$version (curl transport)
author nenolod
date Sun, 28 Jan 2007 02:32:41 -0800
parents 279846578fdc
children 732f07a601bc
files ChangeLog src/curl/curl.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 27 16:37:02 2007 -0800
+++ b/ChangeLog	Sun Jan 28 02:32:41 2007 -0800
@@ -1,3 +1,10 @@
+2007-01-28 00:37:02 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [1196]
+  If we are controlling a mono mixer component, ignore balance gracefully rather than muting the audio when the slider is moved to the left.
+  trunk/src/alsa/audio.c |   20 ++++++++++++++++----
+  1 file changed, 16 insertions(+), 4 deletions(-)
+
+
 2007-01-27 14:48:17 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1194]
   - include a valid length
--- a/src/curl/curl.c	Sat Jan 27 16:37:02 2007 -0800
+++ b/src/curl/curl.c	Sun Jan 28 02:32:41 2007 -0800
@@ -16,6 +16,10 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <audacious/vfs.h>
 #include <audacious/plugin.h>
 
@@ -544,6 +548,7 @@
   {
     struct curl_slist *hdr = NULL;
     hdr = curl_slist_append(hdr, "icy-metadata:1");
+    hdr = curl_slist_append(hdr, "User-Agent: Audacious/" VERSION " (curl transport)");
     curl_easy_setopt(handle->curl, CURLOPT_HTTPHEADER, hdr);
   }