remove println at finish

This commit is contained in:
Djkáťo 2024-04-19 22:08:32 +02:00
parent 74c41ab9e4
commit 39ec9a5372
3 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
/target /target
*.log
*.webp *.webp
*.webm *.webm
*.ogg *.ogg

View file

@ -1,7 +1,7 @@
[package] [package]
name = "n-mb" name = "n-mb"
authors = ["Djkáťo <djkatovfx@gmail.com>"] authors = ["Djkáťo <djkatovfx@gmail.com>"]
version = "1.1.0" version = "1.1.1"
edition = "2021" edition = "2021"
description = "Simple ffmpeg wrapper to parse files to the most efficient formats within a set size" description = "Simple ffmpeg wrapper to parse files to the most efficient formats within a set size"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -10,7 +10,7 @@ repository = "https://github.com/djkato/n-mb"
readme = "README.md" readme = "README.md"
keywords = ["media", "ffmpeg", "cli"] keywords = ["media", "ffmpeg", "cli"]
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
exclude = ["*.mp4", "*.mp3", "*.jpg", "*.ogg", "*.webp", "*.webm"] exclude = ["*.mp4", "*.mp3", "*.jpg", "*.ogg", "*.webp", "*.webm", "*.log"]
[dependencies] [dependencies]
anyhow = "1.0.75" anyhow = "1.0.75"

View file

@ -205,9 +205,7 @@ async fn main() -> anyhow::Result<()> {
} }
}, },
_ => { _ => {
println!("Finished");
command.status = EncodingStatus::Finished; command.status = EncodingStatus::Finished;
println!("test");
} }
}, },
"continue" => command.status = EncodingStatus::InProgress, "continue" => command.status = EncodingStatus::InProgress,