diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-03-04 12:46:39 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-03-04 12:46:39 +0100 |
commit | a69a32051f025c16f4e3953eb3904283f7107d37 (patch) | |
tree | 3607e153f2ceed6de15713319674d112aa341599 | |
parent | 4077fb32b180b8eb859951632fa7f3689061d267 (diff) |
fix time
-rw-r--r-- | config/essentials/shell/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |