Randomize mocp playlist

This commit is contained in:
Arun Prakash Jana 2020-04-27 01:17:03 +05:30
parent eec0e6d18e
commit 35fb89b972
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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