From 8ce2e7787c725b02af7eff04b094a53f178d71ed Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 May 2016 00:34:51 +0200 Subject: simplify recv-media --- hel/recv-media.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/hel/recv-media.nix b/hel/recv-media.nix index d8192e0f..3bdf0c73 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -10,15 +10,17 @@ writeScriptBin "recv-media" '' dir=/var/media file="''${dir}/.$(basename "$1")" - file2="''${dir}/.copy.$(basename "$1")" + #file2="''${dir}/.copy.$(basename "$1")" nFile="''${dir}/$(basename "$1")" + #cat > "''${file}" cat > "''${file}" - if ! ffmpeg -v warning -i "''${file}" -c copy "''${file2}" 2>&1 &1