QUERY How to use liquidsoap on Linux to record a radio stream #4472
-
I am the author of the radiod software for the Raspberry Pi education computer running Bookworm 64-bit. The following example is how I use streamripper I want to do the same with liquidsoap either from the command line or using a recipe. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
You could use my script that I made as a streamripper alternative. |
Beta Was this translation helpful? Give feedback.
-
Many thanks, that helped enormously. I have managed to record several radio stations including BBC stations using liquidsoap with liquidsoap-record .
|
Beta Was this translation helpful? Give feedback.
-
Many thanks again. I successfully tested the above two new features in version v.1.0.36 and they worked perfectly. You now have a product which can be used as a drop-in replacement for the very out-of-date streamripper. Test commandBelow is the command to test the new -timeout and -station parameters.
The only concern is the awkward file name 2025-05-02_15-57-31.m4a.rec#s. Can the file name reflect the currently playing stream title. My radio product displays Station name and the currently playing title on a screen.
I would like use the extracted title as the file name instead of the composite of date and file type. I appreciate that I may be pushing my luck here but it would be the icing on the cake! |
Beta Was this translation helpful? Give feedback.
-
Yes I understand. Those frequent Radio Caroline metadata (e.g. Radio Caroline - www.radiocaroline.co.uk (17:39)) are when the DJ is making conversation and they are not playing a track. I can filter these out when I create the playlist for Music Player Daemon (MPD). It is also strange that BBC stations don't transmit any meta-data. FYI streamripper can't record BBC radio stations so I was never able to test recording with it. |
Beta Was this translation helpful? Give feedback.
Many thanks, that helped enormously. I have managed to record several radio stations including BBC stations using liquidsoap with liquidsoap-record .
I have two queries.
Replace the top level file name
http://a.files.bbci.co.uk/ms6/live/3441A116-B12E-4D2F-ACA8-C1984642FA4B/audio/simulcast/hls/nonuk/pc_hd_abr_v2/ak/bbc_radio_one.m3u8
with
BBC1
Perhaps with a new parameter
-station BBC1
or-title BBC1