Make extractor CLI attach mpv output

This commit is contained in:
Salastil
2025-11-22 20:44:26 -05:00
parent 9df8c33e5e
commit 83417000f9
2 changed files with 23 additions and 6 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ func (m Model) runExtractor(st Stream) tea.Cmd {
logcb(fmt.Sprintf("[extractor] Captured %d headers", len(hdrs)))
}
if err := LaunchMPVWithHeaders(m3u8, hdrs, logcb); err != nil {
if err := LaunchMPVWithHeaders(m3u8, hdrs, logcb, false); err != nil {
logcb(fmt.Sprintf("[mpv] ❌ %v", err))
return debugLogMsg(fmt.Sprintf("MPV error: %v", err))
}