diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-06-20 22:32:28 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-06-20 22:32:28 -0500 |
| commit | ce64f1a42c9570efa75cc2f568e59d683f499bdd (patch) | |
| tree | 03563a0ce3ce666f465989044120797e5170ff6f /immich.py | |
| parent | c9e7eb40fc5f408cc4177763fd4e82a3632388a1 (diff) | |
| download | immich-frame-ce64f1a42c9570efa75cc2f568e59d683f499bdd.tar.xz immich-frame-ce64f1a42c9570efa75cc2f568e59d683f499bdd.zip | |
config update and more endpoints for api fromtend
Diffstat (limited to 'immich.py')
| -rw-r--r-- | immich.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -40,6 +40,13 @@ class ImmichConnector: mimetype = response.headers.get("Content-Type") return image_data, mimetype + def load_image_filename(self, key): + response = self._request(f"assets/{key}") + if not response or response.status_code != 200: return None, None + + data = response.json() + return data["originalFileName"] + def load_texture_async(self, texture_list, image_texture): self.texture_load_queue.put((texture_list, image_texture)) |
