From 35fb89b9726d9618a866471559b6d253b1d8e676 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 27 Apr 2020 01:17:03 +0530 Subject: [PATCH] Randomize mocp playlist --- plugins/mocplay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mocplay b/plugins/mocplay index 36e7e500..1c0df2a9 100755 --- a/plugins/mocplay +++ b/plugins/mocplay @@ -37,7 +37,7 @@ mocp_add () fi done - echo "$arr2" | shuf -n 100 | xargs -d "\n" mocp -a + echo "$arr2" | shuf -n 100 | xargs -n1 -d "\n" mocp -a else if [ "$resp" = "y" ]; then xargs < "$selection" -0 mocp -a