PDA

View Full Version : Streaming Radio in Graal?


Raeiphon
04-26-2006, 05:01 PM
It's been done.

Not sure by whom, but in Era, two locations have streaming, dynamic radio.

BUT. It's through a port, and it's a SHOUTcast server. Would there be any way to all to mask an asx to work through that? Aeon streams DI.fm and it runs through asx. Would I have to manually dissasemble the asx to find the ip and port to run with, and then what would I play it with?

ApothiX
04-26-2006, 05:56 PM
and then what would I play it with?
play URL:PORT; playlooped URL:PORT; or you could use a gani.

Raeiphon
04-26-2006, 06:37 PM
A gani would play asx? How?

napo_p2p
04-26-2006, 08:58 PM
I am not sure if this helps, but information here (http://forums.graalonline.com/forums/showthread.php?t=64166) helped me make the radio on Aeon (look for 'sound examples').

excaliber7388
04-26-2006, 11:02 PM
Whats wrong with simply
play url; (GS1)
play(url); gs2?
?

napo_p2p
04-26-2006, 11:21 PM
Whats wrong with simply
play url; (GS1)
play(url); gs2?
?

In the end, that is how it is done.

I think he is asking how to get the IP/Port that he can use with the play command.

excaliber7388
04-26-2006, 11:35 PM
In the end, that is how it is done.

I think he is asking how to get the IP/Port that he can use with the play command.
Ah, I weas going to say, DR has had it as play url; for a long time. (although it goes real slow sometimes, it's not streaming the file, it's taking the entire mp3 file, which is bad for some older computers...like mine XD)

Raeiphon
04-27-2006, 09:34 AM
I'm going to try and make a class that splits asx into ip:port so streaming through graal is alot easier. I hope it can be done.

Admins
04-27-2006, 12:42 PM
The streaming is probably quite similar (mp3 or wma streams), but the question is how to extract the address and author etc. from the asx file. It is in xml-format, and Graal doesn't provide functions yet to easily analyze xml files. It should still be possible to search for the "<ref href=url>" tag, similar to the analyzation of playlist files (described here (http://forums.graalonline.com/forums/showthread.php?t=64166))