Hoi folks, I don't like to post in newsletter because of several reason but sometimes it isn't evitable. I am setting up a internet-radio-show (exclusively live, including 2 video-streams) and I want to read out the audio-metadata of momentarily played tracks in realtime to compare it against a SQL-database. The aim is to fill up and/or update a table with 'most played' audio-tracks. I'm using the following free tools/ software: Mixx (and others)-> Jack <-> Ardour -> icecast I'm desperately searching for any possibility to read out the metadata and to bind it into some php srcipt to accomplish the database- update. Any web-queries like 'jQuery Plugin metadata', 'metadata on the fly read out', 'php metadata' and more or similar containing the above mentioned software-names don't bring any satisfying result. Any suggestions are very welcome! Greets Gee
On 03/23/2014 05:45 AM, Guido Budack wrote:> I am setting up a internet-radio-show (exclusively live, including 2 video-streams) > and I want to read out the audio-metadata of momentarily played tracks in realtime > to compare it against a SQL-database. > The aim is to fill up and/or update a table with 'most played' audio-tracks.Did you look into the options I pointed out to you previously? TBR
<div>Hello Thomas,</div><div>š</div><div>excuse me please, but I am subscribed in so many newsletter-systems that I sometimes overlook or worse, delte important things.</div><div>I have your reply no more in my /Inbox/Mailing_list/useful folder.</div><div>Can you please reflect on this topic in brief again or much better send me you last message once more?</div><div>š</div><div>But I guess it hasn't been useful to me.</div><div>Another possibility could be that I deleted it unintentionally and now, where I came back to this-> topic</div><div>I don not have your reply anymore.</div><div>š</div><div>Greets</div><div>š</div><div>Gee</div>
Hi, If you want to do this in realtime, it's probably going to be easiest done at the source end. If it doesn't need to be realtime exactly, you could parse the playlist log after configuring it. Unfortunately, Icecast doesn't have an event handler for metadata updates like it does for stream connect and disconnect, otherwise you could trigger something when the metadata updates. You could query periodically for the metadata but you'd need to do it often enough not to miss tracks and be able to know if a track has already been seen. Geoff.
Hi Geoff, yeah, thats what I am looking for and there is't really much out there... Let's see what will happen... Sooner or later I'll find a solution but before I'll check first Thomas link to the archive. Tom, danke soweit... Greets Gee
you could set up a php yp-server and add a line in the icecast config $email = "you at somewhere"; if($_REQUEST['action'] == "remove"){ header("YPResponse: 1"); header("YPMessage: Deleted server info."); mail($email,'YP debug: remove stream',print_r($_REQUEST,true)); } if($_REQUEST['action'] == "add"){ header("YPResponse: 1"); header("YPMessage: Successfully added."); header("SID: your_session_id_1234567890"); header("TouchFreq: 15"); mail($email,'YP debug: add stream',print_r($_REQUEST,true)); } if($_REQUEST['action'] == "touch"){ header("YPResponse: 1"); header("YPMessage: Updated server info."); mail($email,'YP debug: update stream',print_r($_REQUEST,true)); } "touch" results in Array ( [action] => touch [sid] => your_session_id_1234567890 [st] => your song title and artist info [listeners] => 1 [max_listeners] => 100 [stype] => ) bests, uno Guido Budack:> Hoi folks, > > I don't like to post in newsletter because of several reason but sometimes it > isn't evitable. > I am setting up a internet-radio-show (exclusively live, including 2 video-streams) > and I want to read out the audio-metadata of momentarily played tracks in realtime > to compare it against a SQL-database. > The aim is to fill up and/or update a table with 'most played' audio-tracks. > > I'm using the following free tools/ software: > > Mixx (and others)-> Jack <-> Ardour -> icecast > > I'm desperately searching for any possibility to read out the metadata and to bind > it into some php srcipt to accomplish the database- update. > > Any web-queries like 'jQuery Plugin metadata', 'metadata on the fly read out', > 'php metadata' and more or similar containing the above mentioned software-names > don't bring any satisfying result. > > Any suggestions are very welcome! > > Greets > > Gee > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
I will ceck that option later, thanks... Actually I have another problem.... But I guess your proposition produces even more overhead than parsing a temp-file.+ Usually I'd really like to 'dock' to some C++-Interface because of speed etc but there isnt really much out there... Greets and thanks! Gee