From 5f49fb458d502b159b47181acff4a36b03939105 Mon Sep 17 00:00:00 2001 From: Ryan G <98589683+ryanginn@users.noreply.github.com> Date: Thu, 3 Feb 2022 11:52:30 +0000 Subject: [PATCH] Update README Updated README to add help for streaming IceCast links, let's hope that newcomers (like myself) won't have to scroll through the interwebs anymore for the code to play an IceCast mp3 link! --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e62f176..3794d70 100644 --- a/README.md +++ b/README.md @@ -86,12 +86,16 @@ If you use the argument `-audio -`, Pi-FM-RDS reads audio data on standard input sox -t mp3 http://www.linuxvoice.com/episodes/lv_s02e01.mp3 -t wav - | sudo ./pi_fm_rds -audio - ``` -Or to pipe the AUX input of a sound card into Pi-FM-RDS: +Pipe the AUX input of a sound card into Pi-FM-RDS: ``` sudo arecord -fS16_LE -r 44100 -Dplughw:1,0 -c 2 - | sudo ./pi_fm_rds -audio - ``` +Pipe live MP3 file into Pi-FM-RDS (IceCast or SHOUTCast supported): +``` +sox -t mp3 http://link-to-icecast-instance.tld/radio.mp3 -t wav - | sudo ./pi_fm_rds -ps ICECAST -rt Icecast test -audio - +``` ### Changing PS, RT and TA at run-time