Remove legacy compare/convert hooks

This commit is contained in:
Stu 2025-12-04 06:40:00 -05:00
parent 66c79cee91
commit e749a32926

24
main.go
View File

@ -1097,33 +1097,11 @@ func (s *appState) batchAddToQueue(paths []string) {
}
}
s.loadVideos(combined)
s.showModule("convert")
s.showPlayerView()
}
}, false)
}
func (s *appState) showConvertView(file *videoSource) {
s.stopPreview()
s.lastModule = s.active
s.active = "convert"
if file != nil {
s.source = file
}
if s.source == nil {
s.convert.OutputBase = "converted"
s.convert.CoverArtPath = ""
s.convert.AspectHandling = "Auto"
}
s.setContent(buildConvertView(s, s.source))
}
func (s *appState) showCompareView() {
s.stopPreview()
s.lastModule = s.active
s.active = "compare"
s.setContent(buildCompareView(s))
}
// jobExecutor executes a job from the queue
func (s *appState) jobExecutor(ctx context.Context, job *queue.Job, progressCallback func(float64)) error {
logging.Debug(logging.CatSystem, "executing job %s: %s", job.ID, job.Title)