change to sanitize-disposition

pull/10/head
RandomNinjaAtk 5 years ago committed by GitHub
parent eff4aa676e
commit 2deafd0cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,9 +60,9 @@ def main():
safeConfigParser.set("Metadata", "tag-language", os.environ.get("METADATA_TAG_LANGUAGE")) safeConfigParser.set("Metadata", "tag-language", os.environ.get("METADATA_TAG_LANGUAGE"))
if os.environ.get("METADATA_DOWNLOAD_ARTWORK"): if os.environ.get("METADATA_DOWNLOAD_ARTWORK"):
safeConfigParser.set("Metadata", "download-artwork", os.environ.get("METADATA_DOWNLOAD_ARTWORK")) safeConfigParser.set("Metadata", "download-artwork", os.environ.get("METADATA_DOWNLOAD_ARTWORK"))
if os.environ.get("METADATA_PRESERVE_SOURCE_DISPOSITION"): if os.environ.get("METADATA_SANITIZE_DISPOSITION"):
safeConfigParser.set("Metadata", "preserve-source-disposition", os.environ.get("METADATA_PRESERVE_SOURCE_DISPOSITION")) safeConfigParser.set("Metadata", "sanitize-disposition", os.environ.get("METADATA_SANITIZE_DISPOSITION"))
# Set Video Settings # Set Video Settings
if os.environ.get("VIDEO_CODEC"): if os.environ.get("VIDEO_CODEC"):
safeConfigParser.set("Video", "codec", os.environ.get("VIDEO_CODEC")) safeConfigParser.set("Video", "codec", os.environ.get("VIDEO_CODEC"))

Loading…
Cancel
Save