Old 7th September 2012, 11:33   #1
David Henry
Junior Member
 
Join Date: Jul 2012
Posts: 4
HTML non-flash player help

Hi Guys,

We are building a HTML player that doesn't use flash.

We are having trouble getting the track info (now, prev, next etc.).

I can see that it's set correctly in the play out system and it's displaying on the shoutcast flash player.

How can we pull this?

Any help really appreciated

Once we're done we will post the results here as I'm sure I'm not alone on this
David Henry is offline   Reply With Quote
Old 12th September 2012, 13:20   #2
David Henry
Junior Member
 
Join Date: Jul 2012
Posts: 4
Bumping this with a more acurate request...

We are trying to extract the ID3 tags from a shoutcast stream. We have looked all over the site but can only find reference that are pretty old.

Some refer to using a seperate stream link like:

http://scastsrv2.shoutcast.com:8016/title

or

http://scastsrv2.shoutcast.com:8016/7

But these have not worked either

Does anyone out there have some sample php that will pull ID3 tags from a live stream?

David
David Henry is offline   Reply With Quote
Old 12th September 2012, 23:25   #3
chophouse
Junior Member
 
Join Date: Oct 2007
Posts: 26
Are you sure ID3 tags are even in the stream?

Listen to Blues Debut
The freshest blues tracks 24/7
www.bluesdebut.com
chophouse is offline   Reply With Quote
Old 12th September 2012, 23:43   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
ID3 tags are not sent in-stream. depending on how the client is handling things, it's either a string inserted at specific points in the stream or it would be a uvox frame(s) containing the metadata.

either you make a short connection to the stream and process the first few kb of stream data to find it (assuming that can be done with html5 - would have to think maybe websockets is something appropriate but i'm not sure) or you have to query the DNAS periodically (which depends on the version used as to how easy that is to do).


unfortunately, unless you can process the stream data at the raw level, trying to get the in-stream title updates is going to be a struggle and i'm really not even sure that the html tech / api support in browsers is far along enough to cope with such things (at the time of this reply).

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Technical Support

Tags
html, no flash, non-flash, player

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump