|
|
@ -110,7 +110,7 @@ fn process_camera_pics() -> anyhow::Result<()> { |
|
|
|
let mut pic = Pic { |
|
|
|
let mut pic = Pic { |
|
|
|
crop, |
|
|
|
crop, |
|
|
|
thumb: [0u8; THUMB_H * THUMB_W], |
|
|
|
thumb: [0u8; THUMB_H * THUMB_W], |
|
|
|
timestamp: meta.ctime(), |
|
|
|
timestamp: meta.mtime(), |
|
|
|
filename: dir_entry.path().file_name().unwrap_or_default() |
|
|
|
filename: dir_entry.path().file_name().unwrap_or_default() |
|
|
|
.to_string_lossy().to_string(), |
|
|
|
.to_string_lossy().to_string(), |
|
|
|
}; |
|
|
|
}; |
|
|
|