[Icecast] Icecast Digest, Vol 146, Issue 7

Marvin Scholz epirat07 at gmail.com
Fri Aug 19 13:33:49 UTC 2016



Von meinem iPhone gesendet
> Am 19.08.2016 um 15:13 schrieb Mark Trimble <matrimble at gmail.com>:
> 
> Thank you Philipp. I'm running icecast 2.4.2 and based on the "Available Raw Data" in the Icecast docs page (http://icecast.org/docs/icecast-2.4.0/server-stats.html), it doesn't appear "album" or "year" are available for the stats-json.xsl file to get. But it may be misunderstanding what I'm seeing and just don't know how to properly customize the stats-json file to get album and year. 
> 
> Would anyone have examples of how to pull in album and year using stats-json.xsl?

As far as I know you would need the Icecast 2.5 beta to get advanced metadata in the stats xml or json output.
Note that even with the 2.5 beta this is only possible if the format you are using supports this. MP3 or AAC do not, it only works with Ogg or WebM/MKV afaik.

> Mark
> 
>> On Fri, Aug 19, 2016 at 8:00 AM, <icecast-request at xiph.org> wrote:
>> Send Icecast mailing list submissions to
>>         icecast at xiph.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.xiph.org/mailman/listinfo/icecast
>> or, via email, send a message with subject or body 'help' to
>>         icecast-request at xiph.org
>> 
>> You can reach the person managing the list at
>>         icecast-owner at xiph.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Icecast digest..."
>> 
>> 
>> Today's Topics:
>> 
>>    1. Adding to Icestats Available Raw Data (Mark Trimble)
>>    2. Re: Adding to Icestats Available Raw Data (Philipp Schafft)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Thu, 18 Aug 2016 11:38:26 -0400
>> From: Mark Trimble <matrimble at gmail.com>
>> To: Icecast at xiph.org
>> Subject: [Icecast] Adding to Icestats Available Raw Data
>> Message-ID:
>>         <CAJbPme1C0F5GF5OxjGH1Hf14KSBncRxSMCiUBhOK4kh96VLLWA at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Is there a way to add additional metadata fields to icestats in such a way
>> as to be accessible to stats-json.xsl? In particular I am interested in
>> adding "album" and "year".
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160818/6bbd1420/attachment-0001.html>
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Fri, 19 Aug 2016 07:33:13 +0000
>> From: Philipp Schafft <phschafft at de.loewenfelsen.net>
>> To: Icecast streaming server user discussions <icecast at xiph.org>
>> Subject: Re: [Icecast] Adding to Icestats Available Raw Data
>> Message-ID: <1471591993.1957.4.camel at de.loewenfelsen.net>
>> Content-Type: text/plain; charset="UTF-8"
>> 
>> Good morning,
>> 
>> 
>> On Thu, 2016-08-18 at 11:38 -0400, Mark Trimble wrote:
>> > Is there a way to add additional metadata fields to icestats in such a
>> > way as to be accessible to stats-json.xsl? In particular I am
>> > interested in adding "album" and "year".
>> 
>> In the JSON output there is a "metadata" subitem in the mount. It
>> contains all meta data as provided by the source client.
>> 
>> This is at least true for current master. It also seems to be true for
>> v2.5.0-beta.1. It's not in the current stable releases (2.4.x).
>> 
>> Hope I was of help.
>> 
>> Have a nice day,
>> 
>> with best regards,
>> 
>> --
>> Philipp Schafft (CEO/Geschäftsführer)
>> Telephon: +49.3535 490 17 92
>> 
>> Löwenfelsen UG (haftungsbeschränkt)     Registration number:
>> Bickinger Straße 21                     HRB 12308 CB
>> 04916 Herzberg (Elster)                 VATIN/USt-ID:
>> Germany                                 DE305133015
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
>> 
>> 
>> ------------------------------
>> 
>> End of Icecast Digest, Vol 146, Issue 7
>> ***************************************
> 
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast

Btw, it would be great if you do not reply to digest mails but to the individual email so you do not break the thread structure. You can do so with most (good) mail clients by browsing the ML archive and on the mail you want to reply to click on the E-Mail address next to the senders name. (This should open your mail client and reply to the list address with correct subject and in-reply-to header, even though the link text is the senders email, which is a bit confusing)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160819/385e6a3c/attachment.htm>


More information about the Icecast mailing list