aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mocplay
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-27 01:17:03 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-27 01:17:03 +0530
commit35fb89b9726d9618a866471559b6d253b1d8e676 (patch)
tree69c9ffd04b2966ea7af054a12148c8450eab2d39 /plugins/mocplay
parenteec0e6d18ef03ec85772606521f2f141b0d4a1a3 (diff)
downloadnnn-35fb89b9726d9618a866471559b6d253b1d8e676.tar.gz
Randomize mocp playlist
Diffstat (limited to 'plugins/mocplay')
-rwxr-xr-xplugins/mocplay2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mocplay b/plugins/mocplay
index 36e7e50..1c0df2a 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