From f2201d327ecc7f2ff3e03383edd2f69f80baaf6f Mon Sep 17 00:00:00 2001 From: tcely Date: Tue, 22 Apr 2025 15:58:13 -0400 Subject: [PATCH] Add comments about the added post processor --- tubesync/sync/youtube.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tubesync/sync/youtube.py b/tubesync/sync/youtube.py index 1cf658dc..d3c8f4a0 100644 --- a/tubesync/sync/youtube.py +++ b/tubesync/sync/youtube.py @@ -395,6 +395,9 @@ def download_media( # It already included user configured post processors as well. ytopts['postprocessors'] = list(yt_dlp.get_postprocessors(pp_opts)) + # The ExtractAudio post processor can change the extension. + # This post processor is to change the final filename back + # to what we are expecting it to be. final_path = Path(output_file) try: final_path = final_path.resolve(strict=True)