summaryrefslogtreecommitdiff
path: root/lazycachelist.py
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-06-20 22:32:28 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-06-20 22:32:28 -0500
commitce64f1a42c9570efa75cc2f568e59d683f499bdd (patch)
tree03563a0ce3ce666f465989044120797e5170ff6f /lazycachelist.py
parentc9e7eb40fc5f408cc4177763fd4e82a3632388a1 (diff)
downloadimmich-frame-ce64f1a42c9570efa75cc2f568e59d683f499bdd.tar.xz
immich-frame-ce64f1a42c9570efa75cc2f568e59d683f499bdd.zip
config update and more endpoints for api fromtend
Diffstat (limited to 'lazycachelist.py')
-rw-r--r--lazycachelist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lazycachelist.py b/lazycachelist.py
index 3b2744d..5243def 100644
--- a/lazycachelist.py
+++ b/lazycachelist.py
@@ -20,6 +20,7 @@ class CallbackStateData:
asset_index: int
movement: int
assets: list[str]
+ current_asset: str
@classmethod
def from_lctl(cls, l):
@@ -31,6 +32,7 @@ class CallbackStateData:
asset_index=l.asset_index,
movement=l.last_movement,
assets=assets,
+ current_asset=assets[5],
)