Add {year} variable to asset templates in Immich Album Watcher

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 21:27:59 +03:00
parent 9383f957b6
commit 006f9e532c
2 changed files with 18 additions and 7 deletions

View File

@@ -107,6 +107,7 @@ These variables can be used in the image and video asset templates. Also used fo
| `{type}` | Asset type (IMAGE or VIDEO) |
| `{created}` | Creation date/time (always shown) |
| `{created_if_unique}` | Creation date/time formatted with template if dates differ, empty if all same |
| `{year}` | Year the asset was created (4-digit, e.g., 2024) |
| `{owner}` | Owner display name |
| `{url}` | Public URL to view the asset (empty if no shared link) |
| `{download_url}` | Direct download URL for the original file |