From ccccd95f78a201522453395667e974f653af8ae6 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 6 May 2026 08:01:33 +0000 Subject: [PATCH] Commands: Improve video failure summaries --- internal/commands/video_remux.go | 4 ++-- internal/commands/video_transcode.go | 4 ++-- internal/commands/video_trim.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/commands/video_remux.go b/internal/commands/video_remux.go index ac66b3df0..b835f37eb 100644 --- a/internal/commands/video_remux.go +++ b/internal/commands/video_remux.go @@ -96,10 +96,10 @@ func videoRemuxAction(ctx *cli.Context) error { } log.Infof( - "remux: processed %s, skipped %s, failed %s", + "remux: processed %s, skipped %s, %s", formatCount(processed, "file", "files"), formatCount(skipped, "file", "files"), - formatCount(failed, "file", "files"), + formatFailedCount(failed, "file", "files"), ) if failed > 0 { diff --git a/internal/commands/video_transcode.go b/internal/commands/video_transcode.go index 73011a483..e68f784e9 100644 --- a/internal/commands/video_transcode.go +++ b/internal/commands/video_transcode.go @@ -104,10 +104,10 @@ func videoTranscodeAction(ctx *cli.Context) error { } log.Infof( - "transcode: processed %s, skipped %s, failed %s", + "transcode: processed %s, skipped %s, %s", formatCount(processed, "file", "files"), formatCount(skipped, "file", "files"), - formatCount(failed, "file", "files"), + formatFailedCount(failed, "file", "files"), ) if failed > 0 { diff --git a/internal/commands/video_trim.go b/internal/commands/video_trim.go index 6982a2cf8..dc07f54d9 100644 --- a/internal/commands/video_trim.go +++ b/internal/commands/video_trim.go @@ -105,10 +105,10 @@ func videoTrimAction(ctx *cli.Context) error { } log.Infof( - "trim: processed %s, skipped %s, failed %s", + "trim: processed %s, skipped %s, %s", formatCount(processed, "file", "files"), formatCount(skipped, "file", "files"), - formatCount(failed, "file", "files"), + formatFailedCount(failed, "file", "files"), ) if failed > 0 {