Français - English
Source (plain): svn://svn.saintamh.org/code/fip/src/FipRecorder.java
Source (highlighted): http://svn.saintamh.org/code/fip/src/FipRecorder.java

This program connects to the live MP3 feed for FIP Radio, constantly streaming it down and buffering it to memory. In parallel to that, every few minutes it pings the page on FIP's site where they list the songs they've been playing, and, using the timestamps given on that page, saves to disc the MP3 data that was streamed at that time.

So just run it, without arguments, let it run for, say, a day, and if all goes well you'll end up with a bunch of MP3 files, containing all the songs FIP have been playing on the air, properly named with the artist name and song title.

It's a pretty nice way of discovering new music -- I've already bought several CDs of artists I discovered by downloading a day's worth of FIP songs, and seeing which songs I kept listening to over and over again.