Fix #241 Use title/uploader for embedded metadata not Content ID (#252)

This commit is contained in:
Clark 2022-05-25 10:13:25 +01:00 committed by GitHub
parent 2dd51c38a7
commit 730ac15349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<album>)",
],
"when": "pre_process",
}
)
if self.config["downloads"]["add_thumbnail"]:
postprocessors.append(