![]() |
ASX Streaming Question
OK,
After testing asx files for a while, I uploaded my asx file here: http://www.wedding.fm/weddingfm.asx Now, every time I click the link, it starts at the beginning of my playlist. How can somebody log onto my asx while it's in the middle of broadcasting like a real radio station instead of it starting over each time? Then how do I get the asx to loop over and over again? |
What you have there is a playlist of static MP3 files. It's always going to start at the top when a player connects.
If you have on-demand content *and* a live stream, create two links on your site. One that points to the above ASX file for the static content. The other that points to a new ASX file that you build to only tune into your live stream. |
If you want to simulate a "live" stream with static mp3 files on a web server, check out Mp3 toolbox, it's the bottom link on this page:
http://www.radiotoolbox.com/downloads/ It has a radio feature where it will take all the mp3s in a folder, generate a random playlist everytime a visitor tries to listen, and then starts in the middle of a song so it seems like a real radio station. Then it will even shuffle the playlist each time it loops. Pretty cool. It's a nice and free php script. |
Quote:
|
Well the way it works is to play them in the order that you have inside the ASX file. If the first file is not found, go to the next one in the list and so on. The only way to switch between the two per say is to have the first link pointing to the live stream and if its no online it would then play the next mp3 files and so forth.
If you want to really switch from live to recorded and back and forth, it should be done at the source (from where you are broadcasting), and having only 1 or two items in the asx file or playlist. Otherwise you would have to tell the listeners to keep downloading and reconnecting to get the latest content. Hope that helps. ~D |
I downloaded radio toolbox. Is it compatible Spacial Audio?
|
Not radio toolbox, I was talking about mp3 toolbox. It's a stand-alone php script for streaming a folder of mp3s in a simulated radio format directly from a web server that is running php.
|
OK downloaded it...
Now how do I install it? |
Follow the instructions. You have to upload it to a web server where php is running. Have you ever set up a php script before?
|
Never. Am I supposed to unzip it first then upload the files individually?
|
If you have never used PHP , welcome to hell. err fun, err. Well anyway you need to unzip/compress the files and uplaod them to your server. Hopefully your server can support php as well. Here's an easy test.
Save this as phpinfo.php <? php phpinfo(); ?> Run run it using the command line php phpinfo.php , or http://yoursitename/phpinfo.php If you get the same text back as what you just typed or an error, then you do not have php support on that web server. More information on php can be found at http://www.php.net Is'nt it time to talk about shoutcast server and client problems and not how-to web host ?? :) Cheers ~ D |
Quote:
If you need more help with mp3 toolbox, then post over at it's support forum: http://forums.radiotoolbox.com/viewforum.php?f=10 1 tip though: You need to open mp3toolbox_conf.php in a text editor and setup the config values |
My webhost set up this site for my MP3 Toolbox at http://216.69.248.43/
I have uploaded a couple of small files, but cannot seem to get them to play. This is from my webhost: Quote:
|
you links work fine for me, and pasting the link worked as well
its your PC that has the issue not the server. ~ D |
That link does, but not this link:
http://216.69.248.43/?cmd=listen&s=r...e=filename.pls which is the play link on my mp3 toolbox page. |
well the link works :) the media it is trying to connect to doenst exist. you need to talk to the guys the wrote the script which is beta and may not have any support at all.
its not a shoutcast server problem, you streaming is working as I listened to the sample streams (wedding group talk, and build a better radio). so the problem is not shoutcast server at all at this point, there is something wrong with someone else script, or what is pointing to for a filename. The script came from radiotoolbox.com so you need to take it up with them. again. Shoutcast server looks like its not even a issue at this point. ~ D |
| All times are GMT. The time now is 13:38. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.