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