Answer the question
In order to leave comments, you need to log in
How to record online radio on linux schedule?
You need to record only one transmission (an hour of time) on certain days at a certain time.
Unfortunately Moskva.FM no longer provides recordings, you will have to write yourself.
I am using Linux. How to start recording in VLC on a schedule does not quite come to mind, and if another media file is launched at that time, VLC can switch, stop writing, and start playing what I started, forgetting about the recording.
Tried streamripper:
date=`date +"%Y_%a_%b_%d_%H%M%P"`
url=http://radio.2kom.ru:8000/SportFm.m3u
output_filename=radio__.${date}
duration=3600
output_dir=/home/pi/radio/recordings
cd $output_dir
streamripper $url -s --quiet -d $output_dir -l $duration -a $output_filename -o always
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question