--add-metadata -x / --xattrs -x does not discard source video #2261

pricejn2 opened this Issue Jan 28, 2014 · 3 comments


None yet
3 participants

Follow-up to Issue #1570

When running youtube-dl --add-metadata -x --audio-format mp3 BaW_jenozKc the video file is not erased. The same occurs with using --xattrs in conjunction with -x

@jaimeMF jaimeMF self-assigned this Feb 20, 2014

jaimeMF added a commit to jaimeMF/youtube-dl that referenced this issue Feb 23, 2014

YoutubeDL: Make the decision about removing the original file after e…
…ach postprocessor is run (fixes #2261)

If one of the processors said the file should be kept, it wouldn't pay
attention to the response from the following processors. This was wrong if the
'keep_video' option was False, if the first extractor modifies the original file
and then we extract its audio we don't want to keep the original video file.

@jaimeMF jaimeMF closed this in f3ff1a3 Jan 11, 2015


jaimeMF commented Jan 11, 2015

Will be fixed in the next version, thanks for the report.


phihag commented Jan 11, 2015

The fix has made it into youtube-dl 2015.01.11. See our FAQ if you need help updating.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment