From b5e51edb05d60889aba9dc5beef3fa45f42ec808 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sun, 11 Jan 2026 06:48:18 -0500 Subject: [PATCH] Enable subtitles drag-and-drop in module view --- main.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index bac3798..a59d14c 100644 --- a/main.go +++ b/main.go @@ -1285,6 +1285,7 @@ type authorClip struct { Duration float64 // Video duration Chapters []authorChapter // Chapters for this clip ChapterTitle string // Optional chapter title when treating clips as chapters + IsExtra bool // Mark this clip as an extra } func (s *appState) persistConvertConfig() { @@ -11644,7 +11645,7 @@ func (p *playSession) rebuildPipeline() { return } newSess.SetVolume(volume) - _ = newSess.Seek(offset) + newSess.Seek(offset) newSess.Pause() p.mu.Lock() @@ -12213,6 +12214,12 @@ func (s *appState) handleDrop(pos fyne.Position, items []fyne.URI) { return } + // If in subtitles module, handle video/subtitle files + if s.active == "subtitles" { + s.handleSubtitlesModuleDrop(items) + return + } + // If in audio module, handle dropped video files if s.active == "audio" { var videoPaths []string