|
Sirena Spitteler
Registered User
Join date: 13 Mar 2007
Posts: 3
|
03-09-2008 10:21
Any idea about how to display the singer and the name of the song currently played in a land?
|
|
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
|
03-09-2008 10:23
You would need a script that makes a request to the streaming server, which would need some sort of PHP script or the like to process the request and find out what's playing.
|
|
Kahiro Watanabe
Registered User
Join date: 28 Sep 2007
Posts: 572
|
03-09-2008 10:58
If the station is using shout cast you can use this: /54/87/152921/1.html#post1843189
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
03-09-2008 17:11
it can only be done if it's scripted into a device before hand, if that's what ou're wanting to know.
there is no way to read by script what the stream url is, but whatever object sets it can also poll the related "now playing" page that many (most?) streams have and then parse the results (as long as the page has all the info before the 2k mark). some servers even have rpc, which could update automatically, but many (most?) don't, and rpc hasn't really been all that reliable from many user reports.
note some of these pages only show the current playing song, but others have a listing of the last few played.
_____________________
| | . "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... | - 
|