search for: metadata_len

Displaying 2 results from an estimated 2 matches for "metadata_len".

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
2007 Mar 26
0
Logging album info for ogg-vorbis
...ogg_codec_t *codec; char codec_names [100] = ""; + int i; if (ogg_info->artist) { @@ -293,6 +299,17 @@ snprintf (metadata, len, "%s", title); } } + + if (ogg_info->metadata_count > 0) { + len += ogg_info->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_playlis...