Stream MP3 new

Last update on Apr 26, 2006

Add a link to stream MP3s

I've changed the script according to esquifit's comment!

Rather than having to download MP3s before listening to them, this script will allow you to stream them in the form of M3U files. This script searches any page for links to MP3s and add a little icon after it. Click the icon and the MP3 will stream in your favorite MP3 playing software. (This service was once provided by barkingstars.com, but it seems to have died.)




You could comment on this script if you were logged in.

4 comments Feed-icon

1 point
login to vote
Number47 scriptwright
Posted Jun 9, 2008

posted edited version of this script that removes the need to go through a server

1 point
login to vote
bbug2k user
Posted Oct 1, 2007

Thanks to Latz for the original script and esquifit for the tweak! Exactly what I been looking for!

1 point
login to vote
esquifit scriptwright
Posted Sep 2, 2006

You can make the script independent of any external sever; just replace the line

m3u_link.setAttribute('href', 'http://elektroelch.de/streammp3/stream.m3u?s=' + escape(mp3_links[i].href));

with

m3u_link.setAttribute('href', 'data:audio/x-mpegurl,' + escape(mp3_links[i].href));

This forces the application type to be audio/x-mpegurl without the need to resort to your sever for the conversion. Long life to the 'data:' pseudo-protocol! ;)

1 point
login to vote
Grover user
Posted May 28, 2006

Works great, I'm so happy to have this working again!

You could comment on this script if you were logged in.