stop debug-printing the project.toml all the time

This commit is contained in:
Dominic 2024-04-10 12:56:03 +02:00
parent 8df868eff3
commit 881ab99410
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -287,8 +287,6 @@ fn main() {
project
};
println!("{}", toml::to_string(&project).unwrap());
let renderer = Renderer::new(&directory, &project).unwrap();
let recording = renderer.recording_mkv();
@ -297,7 +295,6 @@ fn main() {
renderer.preprocess(&mut project).unwrap();
project.progress.preprocessed = true;
println!("{}", toml::to_string(&project).unwrap());
fs::write(&project_path, toml::to_string(&project).unwrap().as_bytes()).unwrap();
}
@ -311,7 +308,6 @@ fn main() {
)));
project.progress.asked_start_end = true;
println!("{}", toml::to_string(&project).unwrap());
fs::write(&project_path, toml::to_string(&project).unwrap().as_bytes()).unwrap();
}
@ -331,7 +327,6 @@ fn main() {
}
project.progress.asked_fast = true;
println!("{}", toml::to_string(&project).unwrap());
fs::write(&project_path, toml::to_string(&project).unwrap().as_bytes()).unwrap();
}
@ -343,7 +338,6 @@ fn main() {
let video = renderer.render(&mut project).unwrap();
project.progress.rendered = true;
println!("{}", toml::to_string(&project).unwrap());
fs::write(&project_path, toml::to_string(&project).unwrap().as_bytes()).unwrap();
video
@ -362,7 +356,6 @@ fn main() {
videos.push(renderer.rescale(res).unwrap());
project.progress.transcoded.insert(res);
println!("{}", toml::to_string(&project).unwrap());
fs::write(&project_path, toml::to_string(&project).unwrap().as_bytes())
.unwrap();
}