Add function to call youtube-dl
authorChristoph Egger <christoph@christoph-egger.org>
Tue, 23 Feb 2016 12:05:06 +0000 (13:05 +0100)
committerChristoph Egger <christoph@christoph-egger.org>
Tue, 23 Feb 2016 12:05:06 +0000 (13:05 +0100)
Sorts downloaded files from playlist in folder structure usable for
music playback

functions/default/bandcampdl [new file with mode: 0644]

diff --git a/functions/default/bandcampdl b/functions/default/bandcampdl
new file mode 100644 (file)
index 0000000..dfae8be
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+youtube-dl "$1" -o '%(uploader)s/%(playlist_title)s/%(autonumber)s %(title)s.%(ext)s'