I am looking for Windows or Linux software to record a radio stream on a schedule. For example, start recoring a radio stream every day at 8:00AM for 4 hours.
Currently I am using AIMP which offers recording feature but not scheduling.
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It only takes a minute to sign up.Sign up to join this community
There are two issues really:
You can use (on both platforms) Video LAN VLC (Free & Open Source) from the command line or shell. There are lots of command line options but amongst them are options to stream from a URL,
-I dummy VLC should run with no GUI, typing error messages and asking for input in the command line window. This is better for scripting and for faster completion --run-time=<float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]> Run time The stream will run this duration (in seconds).
There is a special target that should come after the URL for the radio station
Once you have worked out (and tested) your command line you need to save it as a batch file
.bat on Windows or a bash script on Linux (or other shell script):
This differs between Windows and Linux:
In both cases you will need to ensure that the script is accessible when you are not logged on, has access to VLC, has write permissions in the destination directory and in Linux is executable.
Note: Personally I would suggest ensuring that the destination device is not your Operating System device just in case you don't get around to listening to & deleting your recordings for a few weeks.