Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2006, 04:01 PM
Raeiphon Raeiphon is offline
I never asked for this.
Join Date: Jun 2005
Posts: 855
Raeiphon is on a distinguished road
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?
__________________

I hope for nothing. I fear nothing. I am free.
Reply With Quote
  #2  
Old 04-26-2006, 04:56 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
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.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #3  
Old 04-26-2006, 05:37 PM
Raeiphon Raeiphon is offline
I never asked for this.
Join Date: Jun 2005
Posts: 855
Raeiphon is on a distinguished road
A gani would play asx? How?
__________________

I hope for nothing. I fear nothing. I am free.
Reply With Quote
  #4  
Old 04-26-2006, 07:58 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
I am not sure if this helps, but information here helped me make the radio on Aeon (look for 'sound examples').
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #5  
Old 04-26-2006, 10:02 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Whats wrong with simply
play url; (GS1)
play(url); gs2?
?
Reply With Quote
  #6  
Old 04-26-2006, 10:21 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
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.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #7  
Old 04-26-2006, 10:35 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
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)
Reply With Quote
  #8  
Old 04-27-2006, 08:34 AM
Raeiphon Raeiphon is offline
I never asked for this.
Join Date: Jun 2005
Posts: 855
Raeiphon is on a distinguished road
I'm going to try and make a class that splits asx into iport so streaming through graal is alot easier. I hope it can be done.
__________________

I hope for nothing. I fear nothing. I am free.
Reply With Quote
  #9  
Old 04-27-2006, 11:42 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:16 PM.


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