From 0116b534795ec866f7d1279a937ee127136df4ab Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sun, 30 Nov 2025 00:40:33 -0500 Subject: [PATCH] Show active direct conversion in stats and queue view --- main.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/main.go b/main.go index 0088db8..1acca09 100644 --- a/main.go +++ b/main.go @@ -207,6 +207,11 @@ func (s *appState) updateStatsBar() { break } } + } else if s.convertBusy { + // Reflect direct conversion as an active job in the stats bar + running = 1 + jobTitle = "Active conversion" + progress = 0 } s.statsBar.UpdateStats(running, pending, completed, failed, progress, jobTitle) @@ -427,6 +432,17 @@ func (s *appState) showQueue() { s.active = "queue" jobs := s.jobQueue.List() + // If a direct conversion is running but not represented in the queue, surface it as a pseudo job. + if s.convertBusy { + jobs = append([]*queue.Job{{ + ID: "active-convert", + Type: queue.JobTypeConvert, + Status: queue.JobStatusRunning, + Title: "Active conversion", + Description: fmt.Sprintf("Output: %s", s.convert.OutputFile()), + Progress: 0, + }}, jobs...) + } view := ui.BuildQueueView( jobs,