Persist mutations

This commit is contained in:
Zoe Roux
2023-12-19 18:01:49 +01:00
parent 78e30cd516
commit 4a035327ef
10 changed files with 146 additions and 24 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ pub async fn identify(path: String) -> Option<MediaInfo> {
extension: Path::new(&path)
.extension()
.map(|x| x.to_os_string().into_string().unwrap())
.unwrap_or(String::from(".mkv")),
.unwrap_or(String::from("mkv")),
container: general["Format"].as_str().unwrap().to_string(),
video: {
let v = output["media"]["track"]