Old 7th January 2020, 14:39   #1
gujalls
Junior Member
 
Join Date: Jan 2020
Posts: 2
Shoutcast default player details

Hi,

After setting up the Shoutcast stream I am able to listen to the stream just by going to http://<ip address>:<port>/;

When I visit the above link - the browser starts playing the music. I have two queries.

1) Where can I find the code of this default player that gets loaded to the browser just by visiting "http://<ip address>:<port>/;"

2) I would like to do the same. For example I want to listen to my radio station by visiting "http:<ip address>/myradio" rather than "http://<ip address>:<port>/;". How to achieve this?

Please can you help.
gujalls is offline   Reply With Quote
Old 7th January 2020, 16:00   #2
LStratmann
Senior Member
 
Join Date: Dec 2019
Posts: 112
Hey,

Quote:
1) Where can I find the code of this default player that gets loaded to the browser just by visiting "http://<ip address>:<port>/;"
Which default player do you mean? There is such a thing: https://www.google.com/search?q=shou...hrome&ie=UTF-8

Quote:
2) I would like to do the same. For example I want to listen to my radio station by visiting "http:<ip address>/myradio" rather than "http://<ip address>:<port>/;". How to achieve this?
You need to change the port to 80. Additionally you have to set the Streampath to /myradio.

Greetings.
LStratmann is offline   Reply With Quote
Old 7th January 2020, 16:08   #3
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,516
1) http://<ip address>:<port>/; is the code.... the semicolon tells the server to give the streamid=1 stream instead of the index.html. the browser decides how to handle that link.

2) streampath1=/mystream by default it is / and /stream/1/ -- if you set streampath in the config, both will still work, and additionally you can use /mystream - the trailing semicolon is only needed for /
djSpinnerCee is online now   Reply With Quote
Old 9th January 2020, 14:30   #4
gujalls
Junior Member
 
Join Date: Jan 2020
Posts: 2
Hi,

Thanks very much for your response.

What I'm trying to do is

I want to redirect my listeners to listen to my radio through port 80.

When I save the current listening stream running in http://<ip address>:<port>/stream1 - a .mp3 file is being saved. Ofcourse the save doesn't not finish because the stream running.
Would like to know where is this .mp3 file created in the shoutcast server so that I move this .mp3 into the apache server so that the user can listen to the music at http://<ip address>/stream1 rather than port 8080 etc.

eg:
http://www.mywebsite.com:8080/stream1 -> http://www.mywebsite.com/stream1
http://www.mywebsite.com:8080/stream2 -> http://www.mywebsite.com/stream2
http://www.mywebsite.com:8080/stream3 -> http://www.mywebsite.com/stream3
http://www.mywebsite.com:8080/stream4 -> http://www.mywebsite.com/stream4

Can this be achieved?
gujalls is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Tags
default player, shoutcast

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