diff --git a/tubearchivist/home/src/download/yt_dlp_handler.py b/tubearchivist/home/src/download/yt_dlp_handler.py index 2c24cb05..7ec06b56 100644 --- a/tubearchivist/home/src/download/yt_dlp_handler.py +++ b/tubearchivist/home/src/download/yt_dlp_handler.py @@ -313,6 +313,17 @@ class VideoDownloader: "add_metadata": True, } ) + postprocessors.append( + { + "key": "MetadataFromField", + "formats": [ + "%(title)s:%(meta_title)s", + "%(uploader)s:%(meta_artist)s", + ":(?P)", + ], + "when": "pre_process", + } + ) if self.config["downloads"]["add_thumbnail"]: postprocessors.append(