Rough Book

random musings of just another computer nerd

I rox0r

I have some music files on my server that are accessible through http (only by me). So instead of keeping them on my laptop, I decided to add the URL’s to Winamp. But that was too painful. So I took the html files and stripped out the tags (using sed) so that I have the URL’s to the actual files (I use relative paths, but Windows adds the full path to the href attribute in the anchor tag). I wrote that out to a file and then used Vim to create an M3U out of just one regex sub :) . Check it out:

:%s/\(http.*\)\(\n\)/#EXTINF:-1,\1\2\1\2/

I just think that is so schweet!

Popularity: 1% [?]

October 12, 2004 - Posted by | Computers, Nerdy Stuff | , , ,

3 Comments »

  1. enough with the geek talk- upload more pictures!!!

    ReplyReply

    Comment by the goddess | October 13, 2004

  2. how many times do I have to say it …….DORK

    ReplyReply

    Comment by edo | October 14, 2004

  3. The pictures are up, woman.

    ReplyReply

    Comment by vivin | October 15, 2004


Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
All original content on these pages is fingerprinted and certified by Digiprove