Skip to content

High performance self-hosted photo and video management solution.

fix: Fix issue fail to download iOS live photos (#22708)

CuberLb7e06e7b6fc4
diff --git a/mobile/lib/repositories/download.repository.dart b/mobile/lib/repositories/download.repository.dart
index 1ac9410fc6..c578746a4c 100644
--- a/mobile/lib/repositories/download.repository.dart
+++ b/mobile/lib/repositories/download.repository.dart
@@ -121,7 +121,7 @@ class DownloadRepository {
_dummyMetadata['part'] = LivePhotosPart.video.index;
tasks[taskIndex++] = DownloadTask(
taskId: livePhotoVideoId,
- url: url,
+ url: getOriginalUrlForRemoteId(livePhotoVideoId),
headers: headers,
filename: asset.name.toUpperCase().replaceAll(RegExp(r"\.(JPG|HEIC)$"), '.MOV'),
updates: Updates.statusAndProgress,