I like to listen to a weekly streaming radio show, but I’m usually not around to catch any or all of the stream. I then need to scour the interwebz to find a ripped recording of the show, which is usually on Rapidshare/Megaupload/etc. This method takes a while to find/download (that is, if it’s even available). I decided I’d rather record the streams myself, but couldn’t find a simple method to do so through Winamp. I discovered a method that works well and takes only a few minutes to configure. Unfortunately I couldn’t find a GUI for setting up scheduled recordings, but with a few Scheduled Tasks set we can use a free utility called StreamRipper to record any streaming radio station that can be played through Winamp.
- Download Winamp, if you don’t already have it (I’m using version 5).
- Determine the URL of your streaming radio station. In my case, it was http://listen.di.fm/public3/trance.pls.
- Download StreamRipper.
- Launch Winamp (which will also open StreamRipper) and set the StreamRipper settings (such as directory to save to, etc).
- Launch Windows Task Scheduler and create a basic task. This will be to start the recording.
- In the newly created task, set the command to run to be StreamRipper.exe (in my case located at C:\Program Files (x86)\StreamRipper\streamripper.exe). Set the arguments to be the URL of the stream you wish to record. Set the start time to be whenever you’d like your recording to start.
- Set whatever other options for the task you’d like (I chose to run only if a user is logged on, that way I have the CMD window open to view the task. I also chose to end the task after running for a certain amount of time, as a fail-safe in case the task doesn’t stop when it’s supposed to, that way my hard drive doesn’t get eaten up and create a 100GB mp3).
- Create another scheduled task. This will be to stop the recording.
- On the second scheduled task, set the command to be taskkill. Set the arguments to be “/f /im streamripper.exe” (without the quotes). Set the task to run when you want your recording to end. Again, set whatever other options you’d like for this scheduled task. I chose to run this one regardless of whether a user is logged on or not.
- Test out your newly created task by manually invoking the first task. Let it run for a few seconds (if you set it to run only when a user is logged on you should see a CMD window open that displays some text referring to your stream). After that has run for 10 or 15 seconds, manually invoke the second task. This should end the recording. Then check the directory you set earlier (using the StreamRipper GUI) to view your recording. If your recording is in there and you can delete it (meaning the file is not open and still being written to), then you’re all set! If you cannot delete the file, then the second task probably did not work properly, as the file is likely still being written to. If there is no file, double check that you have set the path to record to (in the StreamRipper GUI) and that your first scheduled task is configured properly.
That should be it! If you have any questions, write me on Twitter by tweeting @agreenbhm .
4 thoughts on “How To: Schedule Winamp Recording”
SR 1.64 records WinAmp 5.41 when I select SR start on x64 Windows 7 and the scheduler will launch the cmd window and connect to http://126.96.36.199:2005/ (shoutcast) but the audio is not playing nor is SR saving the stream when using the scheduler. I followed via twitter but wanted to comment here too…. Any clues for other settings not mentioned in your tut Drew?
Can you post a screen shot somewhere of the settings as they are configured now? Also, follow me again on Twitter; i think I denied the follow request since I didn’t recognize the name.
Also, try adding “listen.pls” at the end of the URL. It looks like that’s the full link to the stream, so you might need that to get it to work.
I had no problems getting Streamripper to run (I’ve used it on WinXP in the past) – I just couldn’t get it to STOP (it was clearly ignoring the command line option for stream settings).
Thanks for that.
I really like the fact that XP had a DOS pop-up when the stream was actively recording – any idea on how to get Win7 to do the same?