mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix: Fix issue fail to download iOS live photos (#22708)
Co-authored-by: bwees <brandonwees@gmail.com>
This commit is contained in:
@@ -121,7 +121,7 @@ class DownloadRepository {
|
|||||||
_dummyMetadata['part'] = LivePhotosPart.video.index;
|
_dummyMetadata['part'] = LivePhotosPart.video.index;
|
||||||
tasks[taskIndex++] = DownloadTask(
|
tasks[taskIndex++] = DownloadTask(
|
||||||
taskId: livePhotoVideoId,
|
taskId: livePhotoVideoId,
|
||||||
url: url,
|
url: getOriginalUrlForRemoteId(livePhotoVideoId),
|
||||||
headers: headers,
|
headers: headers,
|
||||||
filename: asset.name.toUpperCase().replaceAll(RegExp(r"\.(JPG|HEIC)$"), '.MOV'),
|
filename: asset.name.toUpperCase().replaceAll(RegExp(r"\.(JPG|HEIC)$"), '.MOV'),
|
||||||
updates: Updates.statusAndProgress,
|
updates: Updates.statusAndProgress,
|
||||||
|
|||||||
Reference in New Issue
Block a user