From a69a32051f025c16f4e3953eb3904283f7107d37 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 4 Mar 2024 12:46:39 +0100 Subject: fix time --- config/essentials/shell/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/essentials/shell') diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 11b16c8..a04a2cd 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -76,7 +76,7 @@ ngenable() { ln -sf /etc/nginx/sites-available/$1 /etc/nginx/sites-enabled/; } remove_audio() { ffmpeg -i "$1" -cpu-used -$(nproc) -deadline realtime -c copy -an "${2:-out.mp4}"; } nasg() { smbclient //192.168.178.24/Public/ -D ENFANTS/Luca/tmp -N -c "get $1"; } trll() { printf "%s\n" "$1" | trl 2>/dev/null; } -vidlen() { date -d @"$(ffprobe -show_entries format=duration -v quiet -of csv="p=0" -i "$1" | cut -d'.' -f1)" +'%T'; } +vidlen() { date -u -d @"$(ffprobe -show_entries format=duration -v quiet -of csv="p=0" -i "$1")" +'%T'; } ipc() { -- cgit v1.2.3