From 556c59f12f43ffbc49e0f6314620fc4f9e482636 Mon Sep 17 00:00:00 2001 From: Slavik Date: Wed, 18 Dec 2024 16:57:25 -0800 Subject: [PATCH 1/3] docs: misspelled var "urls" in the "machineLearning" (#14786) [docs] misspelled var "urls" in the "machineLearning" Co-authored-by: slavik.fursov --- docs/docs/install/config-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/install/config-file.md b/docs/docs/install/config-file.md index d3d7133254..f5d2680658 100644 --- a/docs/docs/install/config-file.md +++ b/docs/docs/install/config-file.md @@ -83,7 +83,7 @@ The default configuration looks like this: }, "machineLearning": { "enabled": true, - "url": ["http://immich-machine-learning:3003"], + "urls": ["http://immich-machine-learning:3003"], "clip": { "enabled": true, "modelName": "ViT-B-32__openai" From 79a780e8d9681161a2155a35563b5264a1d3c944 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:56:16 +0100 Subject: [PATCH 2/3] fix(web): downloading partner assets (#14803) --- .../[userId]/[[photos=photos]]/[[assetId=id]]/+page.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/routes/(user)/partners/[userId]/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/partners/[userId]/[[photos=photos]]/[[assetId=id]]/+page.svelte index 6ef430813c..92699f916c 100644 --- a/web/src/routes/(user)/partners/[userId]/[[photos=photos]]/[[assetId=id]]/+page.svelte +++ b/web/src/routes/(user)/partners/[userId]/[[photos=photos]]/[[assetId=id]]/+page.svelte @@ -31,7 +31,10 @@
{#if assetInteraction.selectionActive} - + assetInteraction.clearMultiselect()} + > From a14735846cb0ec014430d2cf9637c5ef7d110ad4 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 20 Dec 2024 13:52:42 -0600 Subject: [PATCH 3/3] chore(mobile): add timeout when reading video files (#14831) --- mobile/lib/services/backup.service.dart | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/mobile/lib/services/backup.service.dart b/mobile/lib/services/backup.service.dart index a0b6bf16c2..7bce1047e2 100644 --- a/mobile/lib/services/backup.service.dart +++ b/mobile/lib/services/backup.service.dart @@ -313,15 +313,12 @@ class BackupService { ); } } else { - if (asset.type == AssetType.video) { - file = await asset.local!.originFile; - } else { - file = await asset.local!.originFile + file = + await asset.local!.originFile.timeout(const Duration(seconds: 5)); + + if (asset.local!.isLivePhoto) { + livePhotoFile = await asset.local!.originFileWithSubtype .timeout(const Duration(seconds: 5)); - if (asset.local!.isLivePhoto) { - livePhotoFile = await asset.local!.originFileWithSubtype - .timeout(const Duration(seconds: 5)); - } } }