Old 20th December 2003, 01:11   #1
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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?


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 01:33   #2
FesterHead
Alumni
 
FesterHead's Avatar
 
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:
<asx version="3.0">
<title>title</title>
<entry>
<title>title</title>
<author>author</author>
<ref href="http://dnas-ip:dnas-portBase/"/>
</entry>
</asx>



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.

FesterHead is offline   Reply With Quote
Old 20th December 2003, 02:12   #3
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 02:20   #4
djmastermind
Forum King
 
djmastermind's Avatar
 
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
djmastermind is offline   Reply With Quote
Old 20th December 2003, 02:32   #5
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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?


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 02:38   #6
djmastermind
Forum King
 
djmastermind's Avatar
 
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:
<asx version="3.0">
<title>TITLE</title>
<entry>
<title>TITLE</title>
<author>AUTHOR</author>
<ref href="http://yourIP:yourPORT/"/>
</entry>
</asx>




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
djmastermind is offline   Reply With Quote
Old 20th December 2003, 02:47   #7
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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>


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 02:47   #8
djmastermind
Forum King
 
djmastermind's Avatar
 
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
djmastermind is offline   Reply With Quote
Old 20th December 2003, 02:55   #9
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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?
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 02:59   #10
djmastermind
Forum King
 
djmastermind's Avatar
 
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
djmastermind is offline   Reply With Quote
Old 20th December 2003, 03:07   #11
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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.)


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 03:10   #12
djmastermind
Forum King
 
djmastermind's Avatar
 
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
Edit the code to your needs. Example:
code:
<asx version="3.0">
<title>My Station Name</title>
<entry>
<title>My Station Name</title>
<author>The best music blah blah</author>
<ref href="http://123.45.67.891:8000/"/>
</entry>
</asx>


-- Michael
djmastermind is offline   Reply With Quote
Old 20th December 2003, 03:15   #13
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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?


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 20th December 2003, 03:35   #14
djmastermind
Forum King
 
djmastermind's Avatar
 
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
djmastermind is offline   Reply With Quote
Old 20th December 2003, 04:06   #15
ruffdawg
Major Dude
 
ruffdawg's Avatar
 
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!


Playin' the best classic rock trax
www.ruffdawgradio.com
ruffdawg is offline   Reply With Quote
Old 16th March 2006, 02:35   #16
jakesee
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.
jakesee is offline   Reply With Quote
Old 16th March 2006, 13:21   #17
jakesee
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!
jakesee is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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