Problem: I have a Gentoo server always on and I want to record real audio streams daily, encoding them in mp3 to listen later in my ipod.
Solution: mplayer, lame, shell script and cron
1) I wrote a script called record.sh that get an output filename and an url representing the stream to record
#!/bin/sh
# Usage:
# [...]