From c079d7c2d170ea20b1fc74157cbf27c7f798b9a9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 Apr 2018 15:53:55 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin/strm/cleanup_youtube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odin/strm/cleanup_youtube b/odin/strm/cleanup_youtube index 03729b01..8b138744 100644 --- a/odin/strm/cleanup_youtube +++ b/odin/strm/cleanup_youtube @@ -17,7 +17,7 @@ function cleanup { [[ -n "${tagFile}" ]] && rm -fv ${tagFile} } -urldecode() { { local x="${*//+/ }"; echo -e "${x//\%/\\x}"; } $(cat) } +urldecode() { local x="${$(cat)//+/ }"; echo -e "${x//\%/\\x}" } @rollingdirectory@/bin/rolling-directory /srv/media/youtube 50Gi -- cgit v1.2.3