Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Streaming Radio in Graal? (https://forums.graalonline.com/forums/showthread.php?t=65657)

Raeiphon 04-26-2006 04:01 PM

Streaming Radio in Graal?
 
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 04:56 PM

Quote:

Originally Posted by Raeiphon
and then what would I play it with?

play URL:PORT; playlooped URL:PORT; or you could use a gani.

Raeiphon 04-26-2006 05:37 PM

A gani would play asx? How?

napo_p2p 04-26-2006 07:58 PM

I am not sure if this helps, but information here helped me make the radio on Aeon (look for 'sound examples').

excaliber7388 04-26-2006 10:02 PM

Whats wrong with simply
play url; (GS1)
play(url); gs2?
?

napo_p2p 04-26-2006 10:21 PM

Quote:

Originally Posted by excaliber7388
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 10:35 PM

Quote:

Originally Posted by napo_p2p
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 08: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 11:42 AM

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)


All times are GMT +2. The time now is 10:03 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.