Difference between revisions of "Recording radio streams"
From Finninday
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
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 | ||
+ | |||
+ | It works well, but was unable to determine the song or artist by default and left the resulting mp3 file in a folder called KRML Radio/incomplete/ - .mp3 | ||
+ | |||
+ | Probably have to fiddle with the settings to get it to generate a reasonable file name automatically. | ||
+ | |||
+ | ===opbmusic.org=== | ||
+ | Here is my standard invocation for recording from OPB: | ||
+ | streamripper http://opbmusic.org/media/opbmusic.pls -d /store/music/opbmusic1 -l 9600 -q | ||
+ | |||
+ | The goals here are to | ||
+ | * save files with a sequence number so that order is preserved | ||
+ | * put the files in a directory that won't collide with other recorded sessions |
Latest revision as of 21:42, 6 August 2009
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
It works well, but was unable to determine the song or artist by default and left the resulting mp3 file in a folder called KRML Radio/incomplete/ - .mp3
Probably have to fiddle with the settings to get it to generate a reasonable file name automatically.
opbmusic.org
Here is my standard invocation for recording from OPB:
streamripper http://opbmusic.org/media/opbmusic.pls -d /store/music/opbmusic1 -l 9600 -q
The goals here are to
- save files with a sequence number so that order is preserved
- put the files in a directory that won't collide with other recorded sessions