Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   ASX Streaming Question (http://forums.winamp.com/showthread.php?t=243987)

JayVilla 19th April 2006 23:45

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?

dotme 20th April 2006 01:55

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.

jeffy777 20th April 2006 02:08

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.

JayVilla 20th April 2006 02:14

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?

hackerdork 20th April 2006 02:44

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

JayVilla 20th April 2006 02:49

I downloaded radio toolbox. Is it compatible Spacial Audio?

jeffy777 20th April 2006 04:00

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.

JayVilla 20th April 2006 18:55

OK downloaded it...

Now how do I install it?

jeffy777 20th April 2006 19:07

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?

JayVilla 20th April 2006 19:17

Never. Am I supposed to unzip it first then upload the files individually?

hackerdork 20th April 2006 19:27

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

jeffy777 20th April 2006 20:06

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

JayVilla 12th May 2006 15:51

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?

hackerdork 12th May 2006 15:59

you links work fine for me, and pasting the link worked as well

its your PC that has the issue not the server.

~ D

JayVilla 12th May 2006 16:55

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.

hackerdork 12th May 2006 17:05

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.