This commit is contained in:
√(noham)²
2026-01-11 11:50:12 +01:00
parent ed52e470cc
commit 7a73e9618b

View File

@@ -298,11 +298,11 @@ if __name__ == "__main__":
) )
# Generate and save the manifest # Generate and save the manifest
new_mpd_content = generate_mpd_manifest(manifest_info) generated_mpd_content = generate_mpd_manifest(manifest_info)
manifest_output_path = args.manifest_output manifest_output_path = args.manifest_output
os.makedirs(os.path.dirname(manifest_output_path), exist_ok=True) os.makedirs(os.path.dirname(manifest_output_path), exist_ok=True)
with open(manifest_output_path, "w") as f: with open(manifest_output_path, "w", encoding="utf-8") as f:
f.write(new_mpd_content) f.write(generated_mpd_content)
logger.info("Manifest saved to %s", manifest_output_path) logger.info("Manifest saved to %s", manifest_output_path)
sys.exit(0) sys.exit(0)