summaryrefslogtreecommitdiff
path: root/random-music
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2024-03-09 02:13:07 -0800
committerSchark <jordan@schark.online>2024-03-09 02:13:07 -0800
commite7331be64f33fcbfc5b82a11e01fa4364c76762d (patch)
tree65fe05c6755fda076299c0795b194acd58f64de3 /random-music
parenteeddeba558bebca73db94980efc7adbe21779769 (diff)
downloadscripts-e7331be64f33fcbfc5b82a11e01fa4364c76762d.tar.gz
scripts-e7331be64f33fcbfc5b82a11e01fa4364c76762d.zip
Using mpd, removing unused script
Diffstat (limited to 'random-music')
-rwxr-xr-xrandom-music12
1 files changed, 0 insertions, 12 deletions
diff --git a/random-music b/random-music
deleted file mode 100755
index f06ee8c..0000000
--- a/random-music
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-if [ -z "$1" ]; then
- echo "No song amount provided. Defaulting to 10."
- arg=10
-else
- arg=$1
-fi
-
-find /mnt/music/ -type f -name "*.*" | shuf -n $arg | mpv --playlist=- --no-audio-display
-
-exit 0