From 392fb838c84e6c85b597c2813183e229bf4c2a62 Mon Sep 17 00:00:00 2001 From: iAmInAction <83808704+iAmInActions@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:44:11 +0100 Subject: [PATCH] Added stop playback option --- radio.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio.sh b/radio.sh index 0738e5b..7a89e5a 100644 --- a/radio.sh +++ b/radio.sh @@ -14,6 +14,7 @@ else fi channel=$(dialog --backtitle "$prdisp" --menu "Choose a station:" 18 45 25 \ + 0 "Stop playback" \ 1 "80s80s" \ 2 "80s80s In the mix" \ 3 "100,5" \ @@ -32,6 +33,9 @@ clear kill $PLAYERID case $channel in +0) + prchan= + ;; 1) prchan="80s80s" "$PLAYER" "https://streams.80s80s.de/web/mp3-192/" $PLAYERARGS &