Minor logging changes.
This commit is contained in:
parent
c4deab996b
commit
5c0f409f03
@ -71,6 +71,7 @@ impl Library {
|
||||
let url = format!("{}=d", base_url);
|
||||
let mut r = reqwest::blocking::get(&url)?;
|
||||
let mut w = File::create(&download_path)?;
|
||||
info!("Downloading {}", &url);
|
||||
let _n = io::copy(&mut r, &mut w)?;
|
||||
info!(
|
||||
"Rename {} -> {}",
|
||||
|
||||
@ -215,7 +215,7 @@ fn sync_albums(
|
||||
let base_url = mi.base_url.as_ref().expect("missing base_url");
|
||||
let image_path = lib.download_image(&filename, &mi_id, &base_url)?;
|
||||
info!(
|
||||
"({}/{}) Downloading {} -> {}",
|
||||
"({}/{}) Checking {} -> {}",
|
||||
i + 1,
|
||||
&media_items.len(),
|
||||
&filename,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user