commit d9176ad6628263858dad41d2bb73fc30fbdfece0 parent f0df5b1e8eb8c04aaffa520a0bbdf635dbf7cb21 Author: hhvn <dev@haydenvh.com> Date: Fri, 19 Mar 2021 18:52:42 +0000 .s/b/rmpv: fix playing of paths without "music" Diffstat:
M | .scripts/bin/rmpv | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.scripts/bin/rmpv b/.scripts/bin/rmpv @@ -24,5 +24,5 @@ echo "$files" | grep $grepargs '[[:alnum:]]' >/dev/null || { echo "$1" | grep $grepargs "music" >/dev/null && { echo "$files" | tr '\n' '\0' | xargs -0 mpv --input-ipc-server=/tmp/mpv-socket --no-video -- } || { - echo "$files" | tr '\n' '\0' | xargs -0 mpv --input-ipc-server=/tmp/mpv-socket $files + echo "$files" | tr '\n' '\0' | xargs -0 mpv --input-ipc-server=/tmp/mpv-socket }