|
|
|
|
#1 |
|
Junior Member
|
.ASX file
I got my server up, and the address is:
http://24.61.153.101:8000/listen.pls I'm trying to convert it into a .asx file for users running windows media player can hear it too. I used this code to make a .asx file, and tossed it into my /content folder within the shoutcast directory. When I load it into windows media player it says loading media, and then a error comes up and says "Class not registered or something like this". Can someone help me out here? How would I make this run in real player too? |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
.. I'm not sure if throwing it into the content directory will do it. Let me just throw you the .asx and .ram bot:
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 For the .ram file to open a RealPlayer stream, enter the following into a notepad document: code: Then save that as <whatever>.ram Simply upload those to your website and link them and they will open in the appropriate player. -- Michael |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Hello,
It says AUTHOR in my browser. I am interested in this concept, what can you do so it will pop-up in media player? Thanks and God Bless! |
|
|
|
|
|
#5 |
|
Forum Loser
(Forum King) |
change: <author>AUTHOR</author> to what ever you want like
code: hmmm. Might be wrong code but try this one... (this one at some time worked as I used it for my station code: btw I allready added in your details for you. Should be Copy Paste. |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Hello,
Odd thing, IE will not launch it in WM, however Opera does. Both versions of the ASX file. Any ideas? Thanks and God Bless! |
|
|
|
|
|
#7 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
Yes.. IE does this. One of the reasons I use Opera..
Try right clicking the link and opening the .asx in WMP. Open WMP > File > Open URL > Paste the .asx url there. -- Michael |
|
|
|
|
|
#8 |
|
Forum Loser
(Forum King) |
you haven't changed your file...
Maybe thats why it doesn't work? |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Hello DJHotIce ,
I have, but what happens it is just changes the browsers TITLE tag to Download's Music Mania and does not display anything in the browsers content, and does not load WMP. However, running it is Opera it works just fine. Any ideas? It would be a problem for a listener to have to Copy and Paste the .ASX URL into WMP. Thanks and God Bless! |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
DJHotIce,
Your streaming links for WMP do not work on your web site, neither does the subdomain. Just letting you know! Thanks and God Bless! |
|
|
|
|
|
#11 |
|
Insomniac
(Forum King) |
Just for further notice, use the
button next time, instead of posting two replies after each other.************************************************ dwoldo, in IE, press the 'Media' icon at the top, then go to your .ASX file, and see if it says connecting. Sometimes it trys to open in the built in Media Player. Scotty Doesn't Know |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Hello LollipopLustKil,
Sorry about the Edit thing. No, it does not try to load with Windows Media Bar. Thanks and God Bless! |
|
|
|
|
|
#13 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Does the webserver have the appropriate mime types for serving the asx?
|
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Hello,
It does work now after adding the mime-type. Now it loads, but it says Unknown error and it doesn't seem to be able to play ip ortThanks and God Bless! |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Certain ASX file not launched in WMP
I too have come across similar problem. I have 7 links pointing to .asx files on an html page. Clicking 2 of them successfully launch WMP and play. The rest just cause the Abstract section to be displayed in IE. I have tried different stations and same results.
The same .ASX file when downloaded locally on hard drive works when double-clicked, or linked from html point to it on HD. The fact that I can launch some .asx file from the same web server I think means it's not MIME issue? Would anyone like to comment on this? |
|
|
|
|
|
#16 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Please post the asx links.
Then I'll comment. |
|
|
|
|
|
#17 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Here's the link to the page with .asx links:
HTTP://sssh.us/test.htm NG: WBSU 89.1 The Point 24K LOCAL .ASX OK: WRMM 101.3 Test 24K LOCAL .ASX NG: Heart 106.2 - London, UK 20K LOCAL .ASX NG: Capital Radio - London, UK 20K LOCAL .ASX NG: NPR 56K WNYC-AM FM 20K OK: BBC World Service 16K OK: Mostly Classical 96K LOCAL .ASX OK: Magna Classical 128K LOCAL .ASX OK: Gold Oldies 128K .WAX NG: New Age 128K OK: 70's Mix 128K .WAX If you click on those links from the html page on HD all the asx links work. I'd like to focus on the first 2 entries WBSU and WRMM. Both local .ASX files on the web server. one launches WMP, the other just display the astract in IE. Puzzling! |
|
|
|
|
|
#18 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Example (simple) asx:
code: Please note the trialing slash after the portBase ********************* wbsu.asx and wrmm.asx do not have a trailing slash after the portbase. magna.asx and newage.asx have the trailing slash mostlyclas.asx appears to point to an Ultravox stream. I don't think this will launch from WMP The rest (minus the .wax files) point to Windows Media servers ia mms:// links and aren't SHOUTcast DNASs. |
|
|
|
|
|
#19 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Good catch on the missing trailing /. I thought I did check that but I was looking at the moreinfo tag before, not the REF tag.
However, I don't think it was the issue: 1. Neither wbsu nor wrmm has the trailing / and wbsu is NG and wrmm is OK. 2. I added trailing / to both. wbsu remains NG, wrmm still OK. 3. Both .asx files work when double-clicked Another interesting fact: When you right click on the wbsu.asx link, IE wants to save the file as wbsu.asx HTML file. Right click on wrmm, and it saves as wrmm.asx Windows Media playlist file. It even first offer to save it with wrmm.asf which is wrong. IE is recognizing these files differently and it's consistent with those that launch WMP or just get displayed. I amended that test html page and added another link to test.asx. Even that one doesn't launch WMP. It's basically your sample file with my REF plugged in. When I click TEST, it displays part of the asx. I'm starting to believe I might be running into an IE bug. |
|
|
|
|
|
#20 |
|
Forum King
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
|
All of them opened my WMP succesfully. I'm beginning to think this may be a file association problem with IE.
The streams that actually streamed for me were:
I hope this is at least somewhat helpful. I use Opera as my browser. -- Michael |
|
|
|
|
|
#21 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Test using Mozilla
I just went back and open that html page with MOzilla. It's worse. Only the following 3 launched WMP:
BBC WNYC FM AM Those 3 are pointing to asx files located external to my web server. But then again wrmm is asx on my web server and yet it works with my IE but not MOzilla. DJmastermind: If it's IE association issue, then why works on wrmm.asx but not wbsu.asx? That should be at extension level issue, and not content dependent. The fact that Mozilla is not working either makes it even more puzzling! Interestingly, when Mozilla displays the asx, it always display the entire file as plain text. IE would only display the abstract tab, or the author tag, or blank. |
|
|
|
|
|
#22 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Yes, Mozilla will display the asx as text.
If IE can't handle the asx, it displays weird stuff (do a view source to see full asx). I'll try to poke by again later to do some more testing. |
|
|
|
|
|
#23 | |
|
Major Dude
Join Date: Feb 2003
Location: ATL, of course.
Posts: 724
|
Quote:
Thanks, rg. |
|
|
|
|
|
|
#24 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
|
|
|
|
|
|
#25 |
|
Junior Member
Join Date: Sep 2003
Posts: 19
|
Turned out to be MIME issue
festerhead, after reading the article re: MIME you listed above, I followed the section for Apache and restarted web server. EVERY single link now launches WMP!
What I can't understand is why it works for some but not others before I added that line for the file type asx. I thought that should be a file type issue. Either it works or not work with an extension. Maybe IE's behavior is also part of the problem? I'm very glad that all the links are now working consistently. Thanks! |
|
|
|
|
|
#26 |
|
Senior Member
Join Date: Dec 2003
Location: England
Posts: 103
|
ok that looks hard to me... wot about this?
hiya ive looked all thru this topic and its all too difficult for me. every time i try to test my .asx file i get a message cum up and it looks like this
the asx code is as follows: <ASX version="3.0"> <Entry> <ref HREF="http://127.0.0.1:6666/"/> <title>RiDiCuLe Player</title> </Entry> </ASX> (i have tried my original ip number and still it foes not work. i use this '127.0.0.1' coz i have multiple ip numbers on my pc) you sed about the trailing slash but wot do i do with it? i have also tried the .ram but had no success please help me coz its doin my head in. and people are complianing about how they cant listen! Cheers in advance! Will
|
|
|
|
|
|
#28 |
|
Junior Member
|
I have this:
<asx version="3.0"> <title>RMI - Radio: Music 'n Interviews [HIGH STREAM 128kbps]</title> <entry> <title>RMI - Radio: Music 'n Interviews [HIGH STREAM 128kbps]</title> <author>DJ-TJ</author> <ref href="http://68.32.132.41:8005/listen.pls"/> <copyright>2004 - RMI Internet Radio</copyright> </entry> </asx> what is wrong with it? please help! ***Note: Never mind, figured it out...*** Last edited by tjoyce; 1st February 2004 at 17:33. |
|
|
|
|
|
#29 |
|
Senior Member
Join Date: Dec 2003
Location: England
Posts: 103
|
you have 'listen.pls' in it. do not pu that in just 'http://yourip
ort/'and note the '/'after the port number hope this helps Will
|
|
|
|
|
|
#30 |
|
Junior Member
|
I figured it out: the problem was the CASTERCLUB.COM embedded WINDOWS MEDIA PLAYER. For your information, their embedded Real player works like a charm, but their Windows Media Player plays the intro file, then the backup file...can't open the stream's URL.
|
|
|
|
|
|
#31 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
How about changing:
<ref href="http://68.32.132.41:8005/listen.pls"/> To: <ref href="http://68.32.132.41:8005/"/> |
|
|
|
|
|
#32 |
|
Senior Member
Join Date: Dec 2003
Location: England
Posts: 103
|
if you search the forums under 'intro file and back-up' and look for my post called 'intro file and back-up plans!'
there is a cool code on how to create an .asx file which acts like a playlist. it plays the intro, stream and back-up. u then upload your .asx file to a webserver like geocities and have the casterclub embedded windows madia player link to that. Hope this helps Will this is what i use on my radio station. |
|
|
|
|
|
#33 |
|
Senior Member
Join Date: Dec 2003
Location: England
Posts: 103
|
|
|
|
|
|
|
#34 |
|
Junior Member
|
is there a code to make it into a .wma file?
**************** btw my .asx doesnt work? <asx version="3.0"> <title></title> <entry> <title>LIHC Radio</title> <author>Host by Alex Zabielski</author> <ref href="http://68.194.193.215:8000/"/> </entry> </asx> TEST thats the .asx file link Last edited by Sern; 3rd February 2004 at 12:33. |
|
|
|
|
|
#35 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
SHOUTcast streams mp3.
|
|
|
|
|
|
#36 |
|
Junior Member
|
they are all MP3
|
|
|
|
|
|
#37 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Let me re-phrase:
Q: is there a code to make it into a .wma file? A: The sources can be a mixture of file formats (including wmas), but the DNAS output will always be an mp3 stream. |
|
|
|
|
|
#38 |
|
Junior Member
|
ohh gotcha, what about my asx code how come thats not working?
***** next question how can i put the server stats like played songs and song playing things like that on a diffrent website? |
|
|
|
|
|
#39 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Looks like the webserver doesn't have the appropriate mime types for serving ASX files.
|
|
|
|
|
|
#40 |
|
Junior Member
|
would like a geocities?
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|