Fix extraction when it has failed previously

This commit is contained in:
Zoe Roux 2024-02-18 22:21:56 +01:00
parent f5be4a8b99
commit 2594afc60f

View File

@ -43,6 +43,8 @@ func (e *Extractor) Extract(path string, subs *[]Subtitle) (<-chan struct{}, err
cmd := exec.Command(
"ffmpeg",
"-dump_attachment:t", "",
// override old attachments
"-y",
"-i", path,
)
cmd.Dir = attachment_path