Skip to content

v0.6.0 - Full albums, date filters, pause, offline cache

Choose a tag to compare

@eyalgal eyalgal released this 29 Apr 23:40

Full Google Photos shared albums (no more 300-photo cap)

Previously, shared albums returned at most ~300 photos because the integration was relying on the publicalbum.org embed API.

The scraper now uses Google's public batchexecute RPC - the same call Google Photos' own JavaScript makes when you scroll - and paginates until the album is exhausted. Falls back to the old endpoint if Google ever changes things.

  • Public shared albums only (link sharing must be enabled)
  • Up to 20,000 photos per album
  • Videos are correctly filtered out
  • Verified end-to-end against a 953-photo public album: 949 photos, 4 videos skipped

Date-aware playlist control

  • Date filter select with 7 modes: off, last 7/30/365 days, this month, this year, on this day (memories rotation)
  • Order mode expanded to 6 options: random, album order, newest taken, oldest taken, newest added, oldest added
  • New camera attributes: captured_at (a [primary, partner] list when two photos are paired side-by-side), captured_at_primary, uploaded_at, byte_size

Pause slideshow switch

A new switch holds the current slide indefinitely. Manual Next slide button still works while paused. State survives Home Assistant restarts.

Offline resilience

The last successful album fetch is now persisted to disk via Home Assistant''s storage layer. If a refresh fails or returns zero items, the integration serves the cached list so the slideshow keeps running until connectivity is restored.

Other

  • New media_count_total attribute (photos before date filtering) alongside the existing media_count (after filtering)
  • date_filter and paused exposed as camera attributes for templates and automations

Upgrade notes

  • No configuration changes required. New entities (Date filter select, Pause switch) are added automatically; defaults preserve previous behaviour.