Added stop playback option

This commit is contained in:
iAmInAction 2023-11-26 21:45:15 +01:00 committed by GitHub
parent 392fb838c8
commit 68cf8165c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,8 @@ fi
clear clear
echo "$prdisp" echo "$prdisp"
echo "Input number to switch station." echo "Input number to switch station."
echo ' 1 "80s80s" echo ' 0 "Stop playback"
1 "80s80s"
2 "80s80s In the mix" 2 "80s80s In the mix"
3 "100,5" 3 "100,5"
4 "100,5 In the mix" 4 "100,5 In the mix"
@ -33,6 +34,9 @@ clear
kill $PLAYERID kill $PLAYERID
case $channel in case $channel in
0)
prchan=
;;
1) 1)
prchan="80s80s" prchan="80s80s"
"$PLAYER" "https://streams.80s80s.de/web/mp3-192/" $PLAYERARGS & "$PLAYER" "https://streams.80s80s.de/web/mp3-192/" $PLAYERARGS &