From 0618cf8359d7e44aae4910f1d84bb96b71187ea8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 19 Mar 2019 21:25:50 +0100 Subject: additional metadata --- odin/strm/download_youtube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odin/strm/download_youtube') diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index f669fda4..927ea803 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube @@ -106,7 +106,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" fi typeset -a args - args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString} --match-filter '!is_live') + args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString} --match-filter '!is_live' --postprocessor-args "-metadata url=%(url)s -metadata extractor=%(extractor)s -metadata id=%(id)s") @youtubedl@/bin/youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | { oldIFS=${IFS} -- cgit v1.2.3