Elle Pollack
Takes internets seriously
Join date: 12 Oct 2004
Posts: 796
|
12-18-2004 09:59
Someone tell me if this is possible:
A particular shoutcast station is streaming music onto a plot of land in SL. When playing this same station in winamp, it's possible to get song title info, etc, in the playlist display (through ID3 tags or something). I'd like to be able to read that info in Second Life and pass it to a script so I could do something like llSetText("Now playing:" + (string)artist + "-" (string)title, <1,0,0>, 1.0); on a radio-shaped object.
|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
12-18-2004 10:29
There's no way to do this directly, that I'm aware of. You could probably create some sort of XML/RPC monstrosity to do this, though, to get data from a remote server, then change the parcel music URL accordingly... something like that. I dunno from XML/RPC. Might as well be magic. 
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
12-18-2004 11:47
yep, you can get it with something serverside, say php, or java, anything that can then initiate a xml/rpc session. The whole setup is kind of a pain though. If you really want to I'd look up server space rentals on secondserver.net. They have a place where you can rent co-located server space for L.
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
12-18-2004 14:10
Mso Lambert makes a RavenTech Shoutcast Announcer that takes a Shoutcast URL and provides the song and other information in floating text and/or chat.
It is a well made creation, alas, I cannot recall where I got it.
|
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
|
12-18-2004 17:08
Yarh, MSo Lambert makes a nice plugin you can use for this.
Unfortunately, mine has stopped functioning correctly (could be my stream), and I haven't seen him in world for a long while.
_____________________
</sarcasm>
|
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
|
12-18-2004 17:31
It is fairly doable - I have some Perl scripts that pull the data, was not too bad to write up and external server space is cheap. (I'm paying $0.77/month for mine.. although that was a limited time deal).
|
Elle Pollack
Takes internets seriously
Join date: 12 Oct 2004
Posts: 796
|
12-18-2004 20:03
From: Alondria LeFay It is fairly doable - I have some Perl scripts that pull the data, was not too bad to write up and external server space is cheap. (I'm paying $0.77/month for mine.. although that was a limited time deal). Meep. perl...the only thing I *can't* use on my server account. (No longer supported because of security issues.)
|
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
|
12-19-2004 05:12
From: Elle Pollack Meep. perl...the only thing I *can't* use on my server account. (No longer supported because of security issues.) I'm fairly certain any language capable of XML-RPC can do this. Perl would just be the easiest, as it's nice and tidy for text handling.
_____________________
</sarcasm>
|