diff --git a/main.go b/main.go index f6eec36..54856d7 100644 --- a/main.go +++ b/main.go @@ -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)