[Feature] Allow "boosting" of images by criteria (date, size, etc) #758
steveredden
started this conversation in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
Feature Request: Asset Weighting / Boost Rules for Slideshow Frequency
Summary
Add a configurable "boost" system that lets users assign relative weights to assets based on metadata criteria, so certain photos appear more frequently in the slideshow without fully excluding others.
Motivation / Use Case
I use Immich Kiosk as a shared photo display for remote family members, cycling through photos of two people using the
personconfig option. The slideshow pulls photos via Immich's random asset API, which gives every qualifying photo equal probability of appearing.In practice, this creates two problems:
There's currently no mechanism to influence how often a photo appears short of excluding it entirely (e.g. via albums, date ranges, or rating filters).
Proposed Solution
Introduce a
weights(orboost) configuration block that allows users to define rules with multipliers. When Kiosk selects the next asset, it applies these weights to bias selection probability — assets matching higher-weight rules appear more frequently.Example config:
Weights would stack multiplicatively (or additively — whichever is simpler to implement). An asset matching no rules gets a neutral weight of
1.0.Potential Match Criteria
Listed roughly by implementation complexity (easiest first, since all of this data is already in the Immich asset response):
date_range— relative ranges likelast_30_days,last_90_days,last_year, or absolute year rangesmin_megapixels/max_megapixels— computed fromexifInfo.exifImageWidth×exifInfo.exifImageHeightmake/model—exifInfo.make,exifInfo.modelmin_rating— already supported as a filter; could also be used as a weighttype—IMAGEvsVIDEOImplementation Notes
Since Kiosk already fetches a pool of random assets from Immich before displaying them, weighted selection could be applied client-side within Kiosk at the point of choosing which asset to display next from the pool — no Immich API changes needed. A weighted random selection (e.g. using a standard alias method or simple linear scan) over the fetched pool would be sufficient.
This avoids any additional API calls and keeps the feature entirely within Kiosk's control.
Alternatives Considered
A weighting system is the natural middle ground: everything is still eligible, just not equally likely.
Additional Context
Current setup: two
personIDs configured, default random asset behavior, no album filtering. The feature would be most useful as aconfig.yaml/ environment variable option, with potential URL param support for per-device overrides (consistent with how other Kiosk settings work).Beta Was this translation helpful? Give feedback.
All reactions