Difference between revisions of "Recording radio streams"

From Finninday
Jump to: navigation, search
Line 10: Line 10:
 
* -l 1800 - record for this many seconds (30 minutes) and then quit
 
* -l 1800 - record for this many seconds (30 minutes) and then quit
  
This command is launched by cron with this invocation:
+
 
 +
Put the following into /etc/cron.d/krmlradio to have it launched by cron:
  
 
  25 8 * * Sun  rday /usr/bin/streamripper http://krmlcarmel.afraid.org:8000/listen.pls -d /store/music -a -l 2400
 
  25 8 * * Sun  rday /usr/bin/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
 
That should begin recording at 8:25am and stop recording at 9:05am

Revision as of 23:25, 11 May 2008

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


Put the following into /etc/cron.d/krmlradio to have it launched by cron:

25 8 * * Sun  rday /usr/bin/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