summaryrefslogtreecommitdiff
path: root/getsong
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-06-13 21:36:56 -0700
committerBen Sima <ben@bsima.me>2018-06-13 21:36:56 -0700
commit77c9a177b2b595d4ce25095b58e2388fe33cc97a (patch)
tree0853d5c92d67538760005b9c4635a90115bd7ba4 /getsong
init
Diffstat (limited to 'getsong')
-rwxr-xr-xgetsong8
1 files changed, 8 insertions, 0 deletions
diff --git a/getsong b/getsong
new file mode 100755
index 0000000..a7f5a86
--- /dev/null
+++ b/getsong
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+youtube-dl \
+ -x \
+ --audio-format mp3 \
+ --audio-quality 0 \
+ --exec 'beet import' \
+ $@ \ No newline at end of file