From b3f28a900cfa58569dd61068c4d09174b70a9322 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Tue, 23 Feb 2016 13:05:06 +0100 Subject: [PATCH] Add function to call youtube-dl Sorts downloaded files from playlist in folder structure usable for music playback --- functions/default/bandcampdl | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 functions/default/bandcampdl 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' -- 2.39.5