|
|
|
|
#1 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
Broadcasting both asx/pls through Shoutcast
I'm not sure if this is possible,but can i broadcast a WMP compatable extention (E.G:asx) while i am broadcasting my usual .pls through Shoutcast? Basically, I want to broadcast both extentions through Winamp. Is this possible?
|
|
|
|
|
|
#2 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
For Windows Media Player, use an asx file.
Create an asx file pointing to your DNAS and place it on a webserver with the approproite mime types. Example (simple) asx: code: Please note the trialing slash after the portBase ************** DNAS link: http://yourDNASip:yourDNASport Listen link: http://yourDNASip:yourDNASport/listen.pls Replace yourDNASip with the ip of the DNAS (SHOUTcast server) and yourDNASport with the DNAS port (default is 8000) Example: If your DNAS ip is 123.345.567.789 and your DNAS portBase is 2112, then your links would be: DNAS link: http://123.345.567.789:2112 Listen link: http://123.345.567.789:2112/listen.pls Also, if your router doesn't support local loopback then machines on the same lan as the DNAS (you) need to use the lan ip of the DNAS to connect/listen. Machines not on the same lan as the DNAS (the rest of the world) need to use the real, world-visible ip of the DNAS to connect/listen. Please don't give out urls with 127.0.0.1 as the ip. That is a local loopback ip. See RFC3330 for more information. Please don't give out urls with 192.168.x.y or 10.x.y.z or 172.(16-31).x.y as the ip. That is a private lan ip. See RFC1918 for more information. Scroll down and look for the section titled: 3. Private Address Space How to find your ip address (Part I). How to find your ip address (Part II). Finally, you can get a static name, such as foo.bar.com (not as cool as that, though ) from http://www.no-ip.com or one of the other myriad of Dynamic DNS Services.Then, your links would be: DNAS link: http://foo.bar.com:yourDNASport Listen link: http://foo.bar.com:yourDNASport/listen.pls Please read some polite advice. |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
hi, sorry, but i think i forgot to add, i want to broadcast asx using winamp. is this possible? also, i tried to use the no-ip.com address but it says "error opening source socket! FATAL ERROR! Some other process is using this port!" but im using the same IP addy. PLz help. THNX
|
|
|
|
|
|
#4 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
the ASX file merely tells the streamt to open in WindowsMediaPlayer. You are still broadcasting using WinAmp.
See if this thread helps. -- Michael |
|
|
|
|
|
#5 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
where would i need to enter the code?
and how do i create an ASX file? |
|
|
|
|
|
#6 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
For the .asx (WMP).. put the following in a notepad document and then save it as <whatever>.asx
code: Of course, change things to fit your needs. Note: This only works in WMP 7.1 and up Note the trialing slash after "yourPORT" Simply upload this to your webserver and link it and it will open in the appropriate player. -- Michael |
|
|
|
|
|
#7 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
okay, i've tried that.. but then i tried to open it using WMP but i got this error: "Windows Media Player cannot play the file because the associated playlist is not valid." here is the code from my .asx:
<asx version="3.0"> <title>Ruff Dawg Radio</title> <entry> <title>TITLE</title> <author>AUTHOR</author> <ref href="http://24.42.129.11:8000/listen.pls> </entry> </asx> |
|
|
|
|
|
#8 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
Make sure the webserver MIME types are correct.
Setting MIME Types on Web Servers for Use with Windows Media Services -- Michael |
|
|
|
|
|
#9 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
I dunno, it says i need to DL a bucha stuff... cant i just load an asx into winamp and broadcast from that?
|
|
|
|
|
|
#10 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
As I said, you still broadcast via WinAmp. You create the ASX for people who want to listen via WMP.
SHOUTcast only broadcasts MP3s. -- Michael |
|
|
|
|
|
#11 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
k now ive created an asx file... so i just add <ref href="http://24.42.129.11:8000/listen.pls> to the asx text?
(http://24.42.129.11:8000/listen.pls is where im broadcasting via winamp.) |
|
|
|
|
|
#12 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
Edit the code to your needs. Example:
code: -- Michael |
|
|
|
|
|
#13 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
k now whats after the coding?
I just want to double-check.. I left it as <ref href="http://24.42.129.11:8000/"/> i dont know if its ok just to leave """ in there... do i have to put a title? |
|
|
|
|
|
#14 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
That's correct. You do not need to put a title, no.
After the coding.. upload to a webserver and link appropriately. -- Michael |
|
|
|
|
|
#15 |
|
Major Dude
Join Date: Feb 2003
Location: Mississauga, Ontario, Canada (Sauga Represent!)
Posts: 565
|
It Works! Thank you so much! finally my station supports one of the most popular media players! My stations goin to the top. Thanx again. if ya wanna listen: http://24.42.129.11:8000/listen.pls or check out my site at www.angelfire.com/oz/ruffdawgradio
Do you have a station cuz i sure love to check out your masterpiece. Thanx again! |
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Mar 2006
Location: Singapore
Posts: 2
|
hi,
i followed the instructions to creating the asx file the the following code (note the ip and port are correct at this point): <asx version="3.0"> <title>TITLE</title> <entry> <title>TITLE</title> <author>AUTHOR</author> <ref href="http://220.255.174.247:8000/"/> </entry> </asx> but running this file from my computer, my WMP10 keep giving me error: C00D1199: Cannot play the file when run on web server, this file doesn't trigger the WMP to start. but this file will trigger WMP10: <ASX version = "3.0"> <Entry> <ref href="http://220.255.174.247:8000/"/> </Entry> </ASX> but still, both files gives the same error. anyone can help me? i'm desperate.. ![]() btw, the files are here: http://radio.shinningstudios.com/mylist.asx (1st file) http://radio.shinninstudios.com/tune_in.asx (snd file) Last edited by jakesee; 16th March 2006 at 03:05. |
|
|
|
|
|
#17 |
|
Junior Member
Join Date: Mar 2006
Location: Singapore
Posts: 2
|
DAMN IT! i know why already...
Please make sure the encoding for the stream is MP3 instead of ACC+ HAIL-O-HAIL! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|