Stream MP3 new

By Latz Last update Nov 24, 2008 — Installed 1,195 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Number47 Scriptwright

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

 
bbug2k User

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

 
esquifit Scriptwright

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! ;)

 
Grover User

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

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel