From 5be46f445ba17a92cdda17c7c51de34befff7631 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 Mar 2020 22:14:32 +0100 Subject: ... --- odin/strm/download_youtube | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'odin/strm') diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index 72dcd40a..37f493a7 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube @@ -72,7 +72,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" if [[ 'base64' == $(sed '/^Content-Transfer-Encoding: */!d; s///;q' ${message}) ]]; then tmpFile=$(mktemp --tmpdir=/home/gkleen/rss/tmp .writeOut.XXXXXX) - printf "Decoding base64 message content for ‘%s’" ${message} + printf "Decoding base64 message content for ‘%s’\n" ${message} sed '/^Content-Transfer-Encoding: */d; /^$/q' ${message} >! $tmpFile sed '1,/^$/d' ${message} | @coreutils@/bin/base64 -d >> $tmpFile mv -v $tmpFile ${message} @@ -80,7 +80,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" if [[ 'quoted-printable' == $(sed '/^Content-Transfer-Encoding: */!d; s///;q' ${message}) ]]; then tmpFile=$(mktemp --tmpdir=/home/gkleen/rss/tmp .writeOut.XXXXXX) - printf "Decoding quoted printable message content for ‘%s’" ${message} + printf "Decoding quoted printable message content for ‘%s’\n" ${message} sed '/^Content-Transfer-Encoding: */d; /^$/q' ${message} >! $tmpFile sed '1,/^$/d' ${message} | @qprint@/bin/qprint -d >> $tmpFile mv -v $tmpFile ${message} @@ -89,7 +89,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" from=$(mungefilename $(awk '/^From/ { gsub("^\"", "", $2); print $2; exit; }' "${message}")) if grep -q "

Enclosure: Enclosure: ]+href=[^">]*"([^"]+)".*$/\1/') + url=$(tr -dC '[:graph:][:blank:]' < "${message}" | sed -r 's/^.*

Enclosure: ]+href=[^">]*"([^"]+)".*$/\1/') else url=$(awk '/^X-RSS-URL/ { print $2; exit; }' "${message}") fi @@ -207,7 +207,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" || ${extensions[(i)${filename:e}]} -gt ${#extensions} || ${transcodeExtractors[(i)${extractor}]} -le ${#transcodeExtractors} ]]; then - printf "Transcoding ‘%s’" ${title} + printf "Transcoding ‘%s’\n" ${title} printf "%d %d %d/%d(%d)…\n" \ $([[ $($alwaysTranscode; print $?) -eq 0 ]]; print $?) \ $([[ "${bare_amp}" -ne 0 ]]; print $?) \ -- cgit v1.2.3