Description
===========
streamripagent is a simple shell script that watches the tracks streamed in
amarok. If any of the regexps in ~/.streamripagent matches the current title,
streamripper is started and the track is ripped to a specified directory.

Configuration
=============
All configuration options are listed at the top in the shell script. Just set
the values to whatever you prefer, set up your ~/.streamripagent and you're
done.

~/.streamripagent
=================
This file contains regular expressions, newline seperated, for titles which
should be ripped. The check is case-insensitive to match most variations of the
title. It's important that the file ends with a new line, otherwise the last
regexp won't be recognized!
Example of a very simple ~/.streamripagent:

<Artist A>
<Artist B> - <Title A>
<Artist C>

This will watch out for all tracks of <Artist A> and <Artist C> as well as
<Title A> from <Artist B>.

Installation
============
Just copy the shell script 'streamripagent' to a directory listed in your $PATH,
so you can execute it without the full path name. If you want it to start with
KDE (which I recommend), place the a symlink to the script in your
~/.kde/Autostart (e.g. 'ln -s /usr/local/bin/streamripagent ~/.kde/Autostart')

Notes
=====
You will probably have to edit the resulting mp3s manually and cut a few chunks from the beginning and the end since we don't start ripping at the exact beginning and don't stop at the exact end of the track. Just look for a small audio editing tool like mhWaveEdit and have fun :)
