summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfrikanalen/bin/check_stream_images5
1 files changed, 3 insertions, 2 deletions
diff --git a/frikanalen/bin/check_stream_images b/frikanalen/bin/check_stream_images
index 77c60f5..372902a 100755
--- a/frikanalen/bin/check_stream_images
+++ b/frikanalen/bin/check_stream_images
@@ -38,8 +38,9 @@ else
url="$1"
fi
-first="$tmpdir/first-$$.jpeg"
-second="$tmpdir/second-$$.jpeg"
+timestamp=$(date +%Y%m%dT%H:%M:%S)
+first="$tmpdir/first-$timestamp-$$.jpeg"
+second="$tmpdir/second-$timestamp-$$.jpeg"
getframe "$url" "$first"
sleep $delay