Recording radio streams
From Finninday
The following command will create an mp3 file from a radio broadcast stream.
streamripper http://krmlcarmel.afraid.org:8000/listen.pls -d /store/music -a -l 1800
The options are:
- -d /store/music - the location to store the resulting files
- -a - do not try to split the stream into individual files based on silence between songs
- -l 1800 - record for this many seconds (30 minutes) and then quit
This command is launched by cron with this invocation:
25 8 * * Sun rday /streamripper http://krmlcarmel.afraid.org:8000/listen.pls -d /store/music -a -l 2400
That should begin recording at 8:25am and stop recording at 9:05am