Browse Source

Randomize mocp playlist

master
Arun Prakash Jana 4 years ago
parent
commit
35fb89b972
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/mocplay

+ 1
- 1
plugins/mocplay View File

@@ -37,7 +37,7 @@ mocp_add ()
fi fi
done done


echo "$arr2" | shuf -n 100 | xargs -d "\n" mocp -a
echo "$arr2" | shuf -n 100 | xargs -n1 -d "\n" mocp -a
else else
if [ "$resp" = "y" ]; then if [ "$resp" = "y" ]; then
xargs < "$selection" -0 mocp -a xargs < "$selection" -0 mocp -a


Loading…
Cancel
Save