rg3/youtube-dl — pull request #601 by paullik (2012-12-23 18:33:52+00:00)
Title: No post-processing overwrites

Hi.

I modified youtube-dl to be able to specify not to overwrite the post-processed files, similarly to the `-w` option for videos.

Imagine the following use-case:
I have a very long, ever-growing playlist, I need the videos and also the audio files, but the playlist being too long I can't afford to re-download the videos (`-k -w`) and to extract the audio every time I add to that playlist, this is where youtube-dl lacked options, so I added `--no-post-overwrites` and with that by using: `-w -k --no-post-overwrites` I won't keep downloading anything already downloaded, including video, also it won't try to re-post-process the videos, only the newly added video of the palylist are downloaded and post-processed.

I'm not sure about what documentation changes I should make and what test should I introduce since what I've added is based on python's optparse which is certainly tested and the `-n` argument for ffmpeg which I guess it's tested, too.

Merry Christmas!