Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Musica

Nezu Garside
Custom titles are too sho
Join date: 12 Mar 2008
Posts: 40
04-12-2009 17:01
I have a friend who DJ's music and is wanting his own board that reads the information from his ShoutCast, I think, server. So, I started writing it when I got stuck upon realizing that my plan to get the information on the URL as a string list wasn't going to work. :(

Now, I don't know any PHP and someone told me that I may need to know some of that in order to do this, but I was wondering if anyone would be willing to give me a hand on this or is able to give me pointers on what I need to do. Or just flat out tell me it is not possible to do this in just LSL works too. :)

And yes, I am ready to start from scratch if I need too.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-12-2009 22:17
IIRC shoutcast servers (icecast for sure) have an xml page for info on what's playing, etc... so by requesting the page through through google search or a translation site should allow you to return key elements without hitting the 2k bytes return cap. you may also be able to do it via rpc, and it seems like someone wrote a script for that somewhere.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
04-13-2009 01:41
Try this thread. It explains how to extract the infos from a shoutcast-server (scroll down a little until you see my post in this thread - and then make sure you read the post from the guy who had probs with it... :)

/54/87/152921/1.html
Nezu Garside
Custom titles are too sho
Join date: 12 Mar 2008
Posts: 40
04-13-2009 13:48
I love you both. :)

Thank you so very much. Just made my life a whole lot simpler.