]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/utils.py
Allow `--exec` to be run at any post-processing stage
[yt-dlp.git] / yt_dlp / utils.py
index ae23ec2a364ae7b1ee9fad4d7d0561ebf5d4d75e..f56129aa5fd92c611e5d63325ad945b823a957c0 100644 (file)
@@ -3036,6 +3036,9 @@ def q(qid):
     return q
 
 
+POSTPROCESS_WHEN = {'pre_process', 'before_dl', 'after_move', 'post_process'}
+
+
 DEFAULT_OUTTMPL = {
     'default': '%(title)s [%(id)s].%(ext)s',
     'chapter': '%(title)s - %(section_number)03d %(section_title)s [%(id)s].%(ext)s',