2006 / FM4 Trackservice Scripts

Radio FM4 Trackservice Scripts

The Radio FM4 Trackservice Scripts are a set of shell and Perl scripts to archive and read track data from the FM4 website. The trackservice on the FM4 homepage lists recently-played tracks on the radio broadcast. We can use this and a little regular expression magic to archive and read/search the list of recently played tracks.

Utilities included

  • fm4ts - Loads the current tracklist from the webserver
  • fm4ts-list - Reads the downloaded tracklist cache (from the cronjob) and generates a "Artist - Song" listing
  • fm4ts-search - Searches the list of songs from the tracklist cache
  • trackservice.cron - A script to be scheduled as a cronjob, automatically downloads trackservice listings and archives it in ~/.trackservice/

Dependencies

Apart from the essential packages you get with a standard Debian GNU/Linux system, you will need the following extra packages:

Download

You can download the latest source archive (this is a Git working copy, so you have the source + the history in Git format) from here:

fm4trackservice-2009-01-03.tar.gz

If you make modifications to this code that you want to share, please send me these as a patch, so I can include it in the release here.


Mon May 28 13:59:50 2007 +0000