Repository navigation
[Feature] Exhaustive shuffle without repeats across the full eligible asset pool #879
Replies: 2 comments
|
+1. A related case: a large album combined with memories, where the number of memories varies daily (from about 1% to 10% of the album's size). I'd like every photo to be shown with equal probability, whichever source it comes from. With the current log weighting (
An exhaustive shuffle across all sources, as proposed here, would give equal exposure per asset. Memories would need to join the same cycle, and the cycle would need to update when the day's memories change. A lighter alternative could be a weighting mode proportional to asset count (e.g. |
|
Thanks for the detailed numbers. I added I reran my tests with a no-weighting baseline. Each run is about 100 picks from AlbumA (9109 assets) and AlbumB (20 assets), with 19 memories where enabled.
(Run 2 totals 101 picks; the rest total 100.)
I do mean to look (at some point) at how memories are weighted so that their share is more sensible. |
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
I'd like an optional slideshow mode that guarantees an asset is not repeated until the full eligible asset pool has been traversed once.
My use case is a long-running digital photo frame with a filtered library.
As I understand the current behaviour, Kiosk already avoids immediately reusing assets from its current fetched/cache batch by removing displayed assets from that cache. However, once that batch is exhausted and a new random batch is fetched, previously displayed assets can become eligible again even though other assets from the complete matching library may not have been shown yet.
What I am looking for is an exhaustive shuffle across the full set of assets matching the current sources and filters:
For example, if 5,000 assets match the current configuration and Kiosk fetches assets internally in batches of 1,000, I would still like all 5,000 assets to be shown once before any of them becomes eligible for a repeat.
This should be optional so the existing random/cache behaviour can remain unchanged.
For splitview layouts, both assets displayed on a slide should count as shown for the current cycle.
This is related to #488, where the expected behaviour was described as choosing images "without repeats until all images have been displayed". However, that issue was closed after fixing a configuration problem and, as far as I can tell, did not add an exhaustive shuffle across the complete eligible asset pool.
I'm currently using Immich Kiosk v0.43.2 as a digital photo frame with person/date filtering.
All reactions