PDA

View Full Version : Audio (MP3) Streaming



Rednix.net
11-15-2007, 12:43 AM
What's the best way to stream audio, in my case MP3 files from my website (www.rednix.net @HM) ?

HostMonster supports true streaming right?

Would the best way to stream mp3 files be linking to an m3u file?

PlanetX
11-15-2007, 12:52 AM
Hey, I'd say the easiest is the m3u route (http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=113).

You can also embed or pop-up a media player like Wimpy (http://wimpyplayer.com) or the JW Media players (http://www.jeroenwijering.com/). Later!

Depeche
11-15-2007, 09:12 AM
Be careful. Make sure people cannot download music on it.

Rednix.net
11-15-2007, 07:34 PM
Thanks for the feedback PlanetX =]

That Wimpyplayer looks pretty cool. I downloaded it and am making a custom skin for it.

Do you know how it handles things internally? Does it generate M3U lists itself?

Rednix.net
11-15-2007, 07:40 PM
My MP3s are not streaming via the M3Us.

I am pretty sure I understand the process. I think I have everything coded correctly? I have an m3u link on my page, linking to the appropriate mp3 song, but when I click the m3u link it acts like its streaming but nothing plays.

My MP3s are stored in public_html/mp3
My M3Us are stored in public_html/m3u

I think my problem might be the path I specified in the M3U file. Does anyone know what the correct full or relative path would be for my M3U file (path to MP3)?

is it:

/public_html/mp3
http://www.rednix.net/public_html/mp3
??

r2b2
11-15-2007, 07:50 PM
It will be without the public_html - so http://rednix.net/mp3

PlanetX
11-15-2007, 07:55 PM
Hey, glad I could help. Yeah the m3u has to be absolute browser path, http://www.woopy.com/woopydance.mp3

I don't know if the Wimpy player generates m3u's, I use them with XML in order to allow artist/genre etc. fields to easily display.

As far as that goes, the Wimpy player has an XML generator (although I found it a bit confusing if not clumsy, but I only gave it a cursory glance) that I used to create a so-called master xml template, then I've been editing them by hand.

PlanetX
11-15-2007, 07:59 PM
It will be without the public_html - so http://rednix.net/mp3

Hey r2b2, thanks man, agreed.




PS: Where's C3Bo?:D

aesop
01-12-2008, 07:10 AM
Hey guys, if I can butt in. I've set up an m3u file and it points to an mp3 file. When I click on the click, I get a request for authentication. If I key in my username and password, the file starts playing correctly.

Any ideas?

PlanetX
01-13-2008, 02:35 PM
One or the other of those two files are in a password protected folder?