I don’t know how interesting this is, but I found it useful for
listening to music on my home computer (tunneled over SSH) while
visiting my folks over the holidays.
It’s a quick hack, accepting CGI-using rewrites
Download: http://dark.fhtr.org/streamer.rb
Usage example:
apt-get install socat libmp3tag-ruby1.8
cd music
socat TCP4-LISTEN:8080,fork EXEC:‘ruby streamer.rb’ &
firefox “http://localhost:8080/,”
Open http://localhost:8080/ in an MP3 player to stream all files in
random order.
Append a comma to URL to browse files.
Drag file link to MP3 player to play it.
Drag (stream)-link to recursively stream all files in a directory.