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
You could comment on this script if you were logged in.

login to vote
posted edited version of this script that removes the need to go through a server
login to vote
Thanks to Latz for the original script and esquifit for the tweak! Exactly what I been looking for!
login to vote
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! ;)
login to vote
Works great, I'm so happy to have this working again!