Wednesday, November 12, 2008

M3U Playlist Export Thingy

I have favorite mp3s scattered over many different locations/albums and I want to listen to them on my psp. I wanted to have winamp copy them from the playlist directly to my mp3 but I couldn't find anything on the net. I also didn't want to go to each mp3's folder and copy paste them into my psp. After scouring the net for a winamp plugin and finding no success I decided to write my own app. Sadly, I don't have time to play around with making a winamp plugin so the best I could do in a few hours was to write an app that would export mp3 entries found in a M3U playlist file and copy them into a specified directory.

Here it is! It's a java .jar file so you need to have Java installed and double click on it. I think this will only work on Windows because of the SWT stuff I used but I really don't know.

This was made using the jigloo eclipse plugin as well as the SWT library. I had fun learning SWT.

Here is the source in case anyone wants to modify it for their own uses.

It looks ugly and would give any coder nightmares to decipher the generic variable names and haphazard placing of functions.

Tuesday, November 11, 2008

Java AI book

Here's a new Java book on Artificial Programming by Mark Watson. I wish this came out a few years earlier.