master
Daniel Napora 2021-11-20 02:16:21 +01:00
parent a9e35bce0f
commit 71a2a04ab4
1 changed files with 6 additions and 1 deletions

View File

@ -10,12 +10,16 @@ case $LANG in
RADIO="Radio Internetowe"
EDITSTATIONS="Edytuj listę stacji"
RADIOBROWSER="Szukaj stacji online"
MPV="Odtwarzaj za pomocą mpv (bez gui)"
MPVPLAY="Słuchaj stacji..."
;;
*)
VOL="Volume Control"
RADIO="Internet Radio"
EDITSTATIONS="Edit stations list"
RADIOBROWSER="Search Radio Stations online"
MPV="Play with mpv (no gui)"
MPVPLAY="Listen to radio..."
;;
esac
@ -24,8 +28,9 @@ out+=("Pavucontrol (super+v),pavucontrol")
out+=("^sep($RADIO)")
pgrep -f radio-mpv > /dev/null && NOW="$(<"$NOWPLAY")" out+=("Stop <i>$NOW</i>,pkill -f radio-mpv") out+=("^sep()")
out+=("Play with mpv (no gui),^checkout(mpvradio)")
out+=("$MPV,^checkout(mpvradio)")
out2+=("^tag(mpvradio)")
out2+=("^sep($MPVPLAY)")
#mapfile -t stations < "$PLAYLIST"
while IFS=$'\r\n' read -r line
do