mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
avoid duplicate entries in playlist log
svn path=/icecast/trunk/icecast/; revision=14483
This commit is contained in:
parent
cca1287522
commit
c37e770ee0
11
src/stats.c
11
src/stats.c
@ -237,17 +237,6 @@ void stats_event_conv(const char *mount, const char *name, const char *value, co
|
|||||||
}
|
}
|
||||||
|
|
||||||
stats_event (mount, name, metadata);
|
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);
|
xmlBufferFree (conv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user