logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: A http.conf file that works on / for Shoutcast and WMP
Author
mychucky



Joined: 08 Feb 2008
Posts: 2
Location: San Joqien Vally California

PostPosted: Fri 08 Feb '08 20:10    Post subject: A http.conf file that works on / for Shoutcast and WMP Reply with quote

Be kind gentleman, I am trying to get this question answered, it appears that i need the correct mime extentions entered in my conf file to get windows media player to recognize and play the shoutcast streams comeing from the shoutcast server. The appace server at http://66.208.248.45 is only hosting a page with a link. I am not using the Apache to stream.
I am told that I need the correct mime extentions and that the Apache will pass on the wmp.asx info to WMP. Could anyone send me the code to put in the conf file. Please include a little above it and below it so I know where to put it. I tried it yesterday but had to take it out "might have been in the wrong spot" because the server refused to start.
Here is the asx code.

<asx version="3.0">
<title>MasMusicaCountry</title>
<entry>
<Title>Stream Title</title>
<author>WinMediaPlayers Link</author>
<ref href="http://66.208.248.45:8000"/>
<entry>
</asx>

all the posts I read say "if you need help with your mime extentions see your network administrator" so where did he learn how to do this and what if the administrator is me......I digress

Thanks guys
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 08 Feb '08 21:23    Post subject: Reply with quote

per http://forums.winamp.com/showthread.php?s=ff25614477fdc4857d4d96af41a1fd08&postid=2304964

If the ASX is showing up as text on the web page in the browser, that means the MIME types aren't set on your server. ".asx" should be MIME type "video/x-ms-asf" on your web server in order to make sure the ASX pops up in the player instead of being rendered by the browser.

It also should be:
===
<asx version="3.0">
<title>TITLE</title>
<entry>
<title>TITLE</title>
<author>AUTHOR</author>
<ref href="http://66.98.132.96:8070"/>
</entry>
</asx>
===
(read: <ref .... /> ) in the ASX to make it valid XML, btw.
Back to top
mychucky



Joined: 08 Feb 2008
Posts: 2
Location: San Joqien Vally California

PostPosted: Sat 09 Feb '08 6:41    Post subject: Still no good on Windows Media player Reply with quote

I have had one report that windows media player is playing the shoutcase stream.
http://66.208.248.45 will take you to a page where you can select listen in Windows media player. The stream is up and plays fine in WinAmp
I have tried a dozen different combonations of the asx file and I cant get it to play on more than 7 machines I tried.
the asx file does bring up the windows media player but it won't play. it downloads the 1 k or so listen.pls and then idles. As the thing don't work and it's a new server if anyone wants ftp access to it to see if they can get it to work just email me and try. mychucky@funport.net I added anumbr of types to the config file today including video/x-ms-asf. It is 99% default instalation with no surprizes
I do not want to go with windows Encoder 9 but if I cant get it to link to the stream from shoutcast I am going to have to jump ship on shoutcast.

On a side note how do you tell if php is working is it default on the latest issue of apache. I have not used this platform for 4 years and am a litlte rusty. I seem to remember when the congfig file was 14 pages long that it was there.
Any assistance will be met with gifts from Visalia.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 09 Feb '08 10:27    Post subject: Reply with quote

Well .. I clicked on this link http://66.208.248.45
Got the Shoutcast Screen, click Play In Windows Media Player ,, listened to
MasMusicaCountry for a short time in WMP11 no prob

THis link http://66.208.248.45/wmp.asx
bypasses the Shoutcast Screen

Side note:
try a small simple php script .. move up from there
Back to top


Reply to topic   Topic: A http.conf file that works on / for Shoutcast and WMP View previous topic :: View next topic
Post new topic   Forum Index -> Apache