From: Christoph Egger Date: Tue, 23 Feb 2016 12:05:06 +0000 (+0100) Subject: Add function to call youtube-dl X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=b3f28a900cfa58569dd61068c4d09174b70a9322;p=dotfiles%2Fzsh.git Add function to call youtube-dl Sorts downloaded files from playlist in folder structure usable for music playback --- diff --git a/functions/default/bandcampdl b/functions/default/bandcampdl new file mode 100644 index 0000000..dfae8be --- /dev/null +++ b/functions/default/bandcampdl @@ -0,0 +1,3 @@ +#!/bin/zsh + +youtube-dl "$1" -o '%(uploader)s/%(playlist_title)s/%(autonumber)s %(title)s.%(ext)s'