mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: Fix issue fail to download iOS live photos (#22708)
Co-authored-by: bwees <brandonwees@gmail.com>
This commit is contained in:
parent
21f49572b1
commit
b7e06e7b6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue