|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
08-04-2008 05:28
How can I grab the title and artist info from a music stream (like a live DJed stream)? This http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetParcelMusicURL mentions it might be possible with llHTTPRequest, but I've so far had no success with it (there's a high probably I'm doing it wrong, though) Haven't tried XML-RPC or email yet, though the notes seem to indicate that XML-RPC is iffy on working at best, so I dunno if it's even worth it to bother.
|
|
Damanios Thetan
looking in
Join date: 6 Mar 2004
Posts: 992
|
08-04-2008 06:43
I doubt you can do this purely 'clientside' from SL. I would assume you need a server component that actually knows the song being played from the stream which you can query over http GET.
It could be that the streaming servers you're using have such a component, in that case there should be some description of the 'API' you need to request this information.
As this information is 'pushed' to clients though, as most streams are, you probably need an XML/RPC server component to get this information. Still this would require a special SL customized API on the server side to 'register' your XML/RPC component with so it would actually receive anything.
|
|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
08-04-2008 06:53
o_O Ok, well.... any idea of NiceCast's servers have that?
|
|
Damanios Thetan
looking in
Join date: 6 Mar 2004
Posts: 992
|
08-04-2008 07:04
nicecast seems icecast compatible. Icecast provides for a stats.xml page which can possibly be queried for this info.
|
|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
08-04-2008 07:08
I just set up Nicecast and got it working today... I've no idea how to switch to another server... Can we talk in-world?
|
|
Kephra Nurmi
winged bug
Join date: 12 Jan 2007
Posts: 180
|
08-04-2008 08:26
Moin Damanios, From: Damanios Thetan I doubt you can do this purely 'clientside' from SL. I would assume you need a server component that actually knows the song being played from the stream which you can query over http GET. shoutcast has special (non documented) feature for SL: You can extend any real shoutcast url with /7.html to get a CSV. This is only possible with shoutcast, not with icecast, nicecast, oddcast and other *cast's claiming but failing to be shoutcast compatible. ciao,Kephra
|
|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
08-04-2008 09:06
that's the problem... I have NiceCast. I'm limited to what will work on a Mac. =/ I'll see about that Icecast thing...
|