summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rwxr-xr-xsim12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim b/sim
new file mode 100755
index 0000000..2502702
--- /dev/null
+++ b/sim
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Get similar songs
+
+lfu "$@" |
+xargs lfs |
+lfp |
+sed 's/\(.*\) - \(.*\)/track:"\1" artist:"\2"/' |
+while read q
+do
+ dzq "$q" | head -1
+done