[xiph-commits] r14483 - icecast/trunk/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Mon Feb 11 20:15:46 PST 2008


Author: karl
Date: 2008-02-11 20:15:45 -0800 (Mon, 11 Feb 2008)
New Revision: 14483

Modified:
   icecast/trunk/icecast/src/stats.c
Log:
avoid duplicate entries in playlist log


Modified: icecast/trunk/icecast/src/stats.c
===================================================================
--- icecast/trunk/icecast/src/stats.c	2008-02-12 04:07:05 UTC (rev 14482)
+++ icecast/trunk/icecast/src/stats.c	2008-02-12 04:15:45 UTC (rev 14483)
@@ -237,17 +237,6 @@
     }
 
     stats_event (mount, name, metadata);
-
-    /* special case for title updates, log converted title */
-    if (mount && strcmp (name, "title") == 0)
-    {
-        char *s = stats_get_value ((char*)mount, "listeners");
-        int listeners = 0;
-        if (s)
-            listeners = atoi (s);
-        free (s);
-        logging_playlist (mount, metadata, listeners);
-    }
     xmlBufferFree (conv);
 }
 



More information about the commits mailing list