mirror of
https://github.com/iAmInActions/random-scripts.git
synced 2024-11-21 19:40:12 +00:00
Added stop playback option
This commit is contained in:
parent
392fb838c8
commit
68cf8165c7
@ -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 &
|
||||||
|
Loading…
Reference in New Issue
Block a user