Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   link (http://forums.winamp.com/showthread.php?t=142313)

falcon33 15th July 2003 18:45

link
 
how do i put a link on my webpage to play my radio station.

FesterHead 15th July 2003 20:03

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)

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.

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

WEBcast 15th July 2003 20:03

PHP Code:

<a href="shoutcast_server:shoutcast_port/listen.pls">Listen My Station</a

result is something like this:

Listen My Station


All times are GMT. The time now is 15:28.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.