diff --git a/src/sh/mpv.sh b/src/sh/mpv.sh index b7a363e..ebced3e 100644 --- a/src/sh/mpv.sh +++ b/src/sh/mpv.sh @@ -80,7 +80,7 @@ mpv_start() { MPV_SOCKET="$(mktemp --suffix=.sock)" export MPV_SOCKET trap 'mpv_quit >/dev/null; rm -f "$MPV_SOCKET"' EXIT INT - nohup $MPV --no-config --no-terminal --input-ipc-server="$MPV_SOCKET" --idle --no-osc --no-input-default-bindings >/dev/null 2&>1 & + nohup $MPV --no-config --no-terminal --input-ipc-server="$MPV_SOCKET" --idle --no-osc --no-input-default-bindings >/dev/null 2>&1 & } # Play the track at the specified index in the playlist