Displaying 4 results from an estimated 4 matches for "logging_playlist".
2010 Sep 06
2
Adding Configuration Options
...gt;
Basically, I'm having Icecast POST to a certain URI whenever it detects a
change in metadata. (Which I've already implemented, but now, I need to add
a setting in the config file for storing this URI.) What is the best
practice for doing this? I'm looking to access it in logging.c,
logging_playlist() - where I have a string that represents the mount point.
I guess the question is... How should I go about selecting the value for
this field on the specific mountpoint?
Ideas, suggestions, tips, general advice, or tricks welcome.
Nicholas
Nicholas Young | nicholas at nicholaswyoung.com
-------...
2007 Mar 15
2
Logging album info for ogg-vorbis
Hi, i just joined the list. I was wondering if anyone would be interested
in a change to icecast that logs album info as well as ARTST and TRACK. I
have made the changes to the source code and it's working fine. If there
is any interest, I could look into making it an addition to the code.
Let me know.
thanks,
--
Aaron
-------------- next part --------------
An HTML attachment was
2010 Sep 06
0
Adding Configuration Options
...9;m having Icecast POST to a certain URI whenever it detects a
> change in metadata. (Which I've already implemented, but now, I need to add
> a setting in the config file for storing this URI.) What is the best
> practice for doing this? I'm looking to access it in logging.c,
> logging_playlist() - where I have a string that represents the mount point.
> I guess the question is... How should I go about selecting the value for
> this field on the specific mountpoint?
You may find it easier to use the stats connection for this, try
curl -X STATS 'http://admin:pw at host:port/...
2007 Mar 26
0
Logging album info for ogg-vorbis
...gt;metadata_len;
+ if(metadata) metadata = realloc(metadata,len);
+ else metadata = calloc(1,len);
+ for(i=0; i < ogg_info->metadata_count; ++i) {
+ strcat(metadata,"|");
+ strcat(metadata,ogg_info->metadata[i]);
+ }
+ }
+
if (metadata)
{
logging_playlist (source->mount, metadata, source->listeners);
diff -aur icecast-2.3.1/src/format_ogg.h icecast-2.3.1-modified/src/format_ogg.h
--- icecast-2.3.1/src/format_ogg.h 2005-08-19 04:01:58.000000000 +0200
+++ icecast-2.3.1-modified/src/format_ogg.h 2007-03-26 23:15:51.000000000 +0200
@@ -41,6 +41,1...