nomic play: exec mpv

This commit is contained in:
tv 2015-07-07 19:27:59 +02:00
parent fa99970fcd
commit abfa54f901

View File

@ -62,7 +62,7 @@ in
(writeScriptBin "play" '' (writeScriptBin "play" ''
#! /bin/sh #! /bin/sh
set -euf set -euf
mpv() { ${mpv}/bin/mpv "$@"; } mpv() { exec ${mpv}/bin/mpv "$@"; }
case $1 in case $1 in
deepmix) mpv http://deepmix.ru/deepmix128.pls;; deepmix) mpv http://deepmix.ru/deepmix128.pls;;
groovesalad) mpv http://somafm.com/play/groovesalad;; groovesalad) mpv http://somafm.com/play/groovesalad;;