Minor logging changes.

This commit is contained in:
Bill Thiede 2020-02-10 21:03:04 -08:00
parent c4deab996b
commit 5c0f409f03
2 changed files with 2 additions and 1 deletions

View File

@ -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 {} -> {}",

View File

@ -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,