Compare commits
No commits in common. "4ba8e3e3eec01daf8e652b72498e840295384216" and "7da8639881e72d7d87a5c56ad162db5cdae87b79" have entirely different histories.
4ba8e3e3ee
...
7da8639881
@ -297,7 +297,7 @@ fn json_metadata_for_path<P: AsRef<Path> + AsRef<OsStr>>(path: P) -> Result<Stri
|
||||
])
|
||||
.arg(Path::new("./").join(path));
|
||||
info!(target: "json", "cmd {:?}", cmd);
|
||||
let output = cmd.output().context(format!("failed to run {:?}", cmd))?;
|
||||
let output = cmd.output()?;
|
||||
if output.status.success() {
|
||||
return Ok(String::from_utf8(output.stdout)?);
|
||||
}
|
||||
@ -617,7 +617,7 @@ impl MovieLibrary {
|
||||
Some((path.to_string_lossy().into_owned(), json))
|
||||
}
|
||||
Err(e) => {
|
||||
error!("Failed to open {}: {}", path.to_string_lossy(), e);
|
||||
error!("{}", e);
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user