diff --git a/usr/bin/mb-music b/usr/bin/mb-music index 3767c54..c0001db 100755 --- a/usr/bin/mb-music +++ b/usr/bin/mb-music @@ -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 $NOW,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