Old 19th April 2006, 23:45   #1
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
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?
JayVilla is offline   Reply With Quote
Old 20th April 2006, 01:55   #2
dotme
Moderator
 
dotme's Avatar
 
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.
dotme is offline   Reply With Quote
Old 20th April 2006, 02:08   #3
jeffy777
Major Dude
 
jeffy777's Avatar
 
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.
jeffy777 is offline   Reply With Quote
Old 20th April 2006, 02:14   #4
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
Quote:
Originally posted by dotme
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.
What if I only want one link that can switch back and forth between the 2?
JayVilla is offline   Reply With Quote
Old 20th April 2006, 02:44   #5
hackerdork
Forum King
 
hackerdork's Avatar
 
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.
hackerdork is offline   Reply With Quote
Old 20th April 2006, 02:49   #6
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
I downloaded radio toolbox. Is it compatible Spacial Audio?
JayVilla is offline   Reply With Quote
Old 20th April 2006, 04:00   #7
jeffy777
Major Dude
 
jeffy777's Avatar
 
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.
jeffy777 is offline   Reply With Quote
Old 20th April 2006, 18:55   #8
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
OK downloaded it...

Now how do I install it?
JayVilla is offline   Reply With Quote
Old 20th April 2006, 19:07   #9
jeffy777
Major Dude
 
jeffy777's Avatar
 
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?
jeffy777 is offline   Reply With Quote
Old 20th April 2006, 19:17   #10
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
Never. Am I supposed to unzip it first then upload the files individually?
JayVilla is offline   Reply With Quote
Old 20th April 2006, 19:27   #11
hackerdork
Forum King
 
hackerdork's Avatar
 
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.
hackerdork is offline   Reply With Quote
Old 20th April 2006, 20:06   #12
jeffy777
Major Dude
 
jeffy777's Avatar
 
Join Date: Jan 2006
Posts: 632
Quote:
Originally posted by hackerdork
Is;nt it time to talk about shoutcast server and client problems and not how-to web host ??
Yeah, I think so

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
jeffy777 is offline   Reply With Quote
Old 12th May 2006, 15:51   #13
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
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:
Here's what's in the log file when realplayer tries to play the pls file:

x.x.x.x - - [12/May/2006:10:45:00 -0500] "GET
/index.php?cmd=stream&mp3=%2F040506WO_radio_1.mp3&dir_id=0 HTTP/1.1" 200 32768
"-" "RMA/1.0 (compatible; RealMedia)"


If I put
http://216.69.248.43//index.php?cmd=...1.mp3&dir_id=0
into the address bar in firefox, the file plays in quicktime.


Mark
Can anyone help?
JayVilla is offline   Reply With Quote
Old 12th May 2006, 15:59   #14
hackerdork
Forum King
 
hackerdork's Avatar
 
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.
hackerdork is offline   Reply With Quote
Old 12th May 2006, 16:55   #15
JayVilla
Junior Member
 
JayVilla's Avatar
 
Join Date: Apr 2006
Location: Houston, TX
Posts: 23
Send a message via Yahoo to JayVilla
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.
JayVilla is offline   Reply With Quote
Old 12th May 2006, 17:05   #16
hackerdork
Forum King
 
hackerdork's Avatar
 
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.
hackerdork is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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