|
|
#1 |
|
Junior Member
|
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? |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Feb 2005
Location: USA
Posts: 4,024
|
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. |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jan 2006
Posts: 632
|
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. |
|
|
|
|
|
#4 | |
|
Junior Member
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
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 ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#6 |
|
Junior Member
|
I downloaded radio toolbox. Is it compatible Spacial Audio?
|
|
|
|
|
|
#7 |
|
Major Dude
Join Date: Jan 2006
Posts: 632
|
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.
|
|
|
|
|
|
#8 |
|
Junior Member
|
OK downloaded it...
Now how do I install it? |
|
|
|
|
|
#9 |
|
Major Dude
Join Date: Jan 2006
Posts: 632
|
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?
|
|
|
|
|
|
#10 |
|
Junior Member
|
Never. Am I supposed to unzip it first then upload the files individually?
|
|
|
|
|
|
#11 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
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 ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. Last edited by hackerdork; 20th April 2006 at 20:09. |
|
|
|
|
|
#12 | |
|
Major Dude
Join Date: Jan 2006
Posts: 632
|
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 |
|
|
|
|
|
|
#13 | |
|
Junior Member
|
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:
|
|
|
|
|
|
|
#14 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
you links work fine for me, and pasting the link worked as well
its your PC that has the issue not the server. ~ D ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#15 |
|
Junior Member
|
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. |
|
|
|
|
|
#16 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
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 ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|