From 9f6414838d4fabc174bb193f34225de8d9fc8079 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 29 Sep 2026 14:17:33 +0200 Subject: feat(immich): fall back to the past week's memories A day with no memories left the card showing only a notice. When today has none, immich-fetch.sh now merges the memories of each of the past six days, skipping a day whose request fails, and marks the index with a scope week line. The subtitle names where the photos come from, Today or This week, before the i/n counter, and the empty notice reads no memories this week. Co-Authored-By: Claude Opus 5.5 --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e68827e..a78371e 100644 --- a/README.md +++ b/README.md @@ -204,9 +204,10 @@ local time) and where, as city and country, or coordinates when Immich has no place name for them. `bin/immich-fetch.sh` runs every 30 minutes. It asks `/api/memories` for -today, downloads each photo's preview, converts it to PNG with ImageMagick -(Cairo loads nothing else) and writes an index beside the photos in -`~/.cache/udt/immich/`, dropping photos that are no longer today's. It needs +today, or for each of the past six days when today has none, downloads each +photo's preview, converts it to PNG with ImageMagick (Cairo loads nothing +else) and writes an index beside the photos in `~/.cache/udt/immich/`, +dropping photos that are no longer in it. It needs `curl`, `jq` and `magick`, and a key in `~/.config/udt/immich.env`: copy `immich.env.example`. The key wants `memory.read` and `asset.view`; with `asset.read` too, the card shows the place, and without it the row reads `--`. -- cgit v1.2.3