Files
haos-hacs-immich-album-watcher/custom_components/immich_album_watcher/services.yaml
alexei.dolgolyov dd7032b411
Some checks failed
Validate / Hassfest (push) Has been cancelled
Replace TTL with thumbhash-based cache validation and add Telegram video size limits
- Asset cache now validates entries by comparing stored thumbhash with current
  Immich thumbhash instead of using TTL expiration. This makes cache invalidation
  precise (only when content actually changes) and eliminates unnecessary re-uploads.
  URL-based cache retains TTL for non-Immich URLs.
- Add TELEGRAM_MAX_VIDEO_SIZE (50 MB) check to skip oversized videos in both
  single-video and media-group paths, preventing entire groups from failing.
- Split media groups into sub-groups by cumulative upload size to ensure each
  sendMediaGroup request stays under Telegram's 50 MB upload limit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 12:28:33 +03:00

7.9 KiB