From 3efa89073a45c658d9a75d3986c3b8db52f47358 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 2 Oct 2016 23:49:08 +0200 Subject: syntax --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hel/recv-media.nix b/hel/recv-media.nix index e3189f79..ae56f991 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -36,7 +36,7 @@ writeScriptBin "recv-media" '' ${if notifyUser == null then "" else "#"}exit 0 ( - summary=${if showTitle then ''$(ffmpeg -i "''${target}" -f ffmetadata pipe:1 2>/dev/null | sed -r '/^title=/!d; s/^title=//')'' else ''""'' fi} + summary=${if showTitle then ''$(ffmpeg -i "''${target}" -f ffmetadata pipe:1 2>/dev/null | sed -r '/^title=/!d; s/^title=//')'' else ''""''} [[ -z "''${summary}" ]] && summary=$(basename "$1") printf "%s\n%s\n" "''${summary}" "" | notify-${notifyUser} -a recv-media || true ) || true -- cgit v1.2.3