From 68cf8165c758e7f3ce43f39d24d5a3be5c224b72 Mon Sep 17 00:00:00 2001 From: iAmInAction <83808704+iAmInActions@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:45:15 +0100 Subject: [PATCH] Added stop playback option --- radio-nodialog.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radio-nodialog.sh b/radio-nodialog.sh index d197471..9079003 100644 --- a/radio-nodialog.sh +++ b/radio-nodialog.sh @@ -16,7 +16,8 @@ fi clear echo "$prdisp" echo "Input number to switch station." -echo ' 1 "80s80s" +echo ' 0 "Stop playback" + 1 "80s80s" 2 "80s80s In the mix" 3 "100,5" 4 "100,5 In the mix" @@ -33,6 +34,9 @@ clear kill $PLAYERID case $channel in +0) + prchan= + ;; 1) prchan="80s80s" "$PLAYER" "https://streams.80s80s.de/web/mp3-192/" $PLAYERARGS &