Skip to content

Commit ca6fe0b

Browse files
authored
add HEIF file extension support #1133 (#1132)
1 parent 4f5fa4a commit ca6fe0b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- fix: HEIF file extension [#1133](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/1133)
56
- fix: fix ignored photos with --delete-after-download or --keep-icloud-recent-days [#616](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/616)
67
- fix: timeout set to 30 seconds for HTTP requests [#793](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/793)
78

src/pyicloud_ipd/services/photos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ def __init__(self, service:PhotosService, master_record: Dict[str, Any], asset_r
574574

575575
ITEM_TYPES = {
576576
u"public.heic": AssetItemType.IMAGE,
577+
u"public.heif": AssetItemType.IMAGE,
577578
u"public.jpeg": AssetItemType.IMAGE,
578579
u"public.png": AssetItemType.IMAGE,
579580
u"com.apple.quicktime-movie": AssetItemType.MOVIE,
@@ -593,6 +594,7 @@ def __init__(self, service:PhotosService, master_record: Dict[str, Any], asset_r
593594

594595
ITEM_TYPE_EXTENSIONS = {
595596
u"public.heic": u"HEIC",
597+
u"public.heif": u"HEIF",
596598
u"public.jpeg": u"JPG",
597599
u"public.png": u"PNG",
598600
u"com.apple.quicktime-movie": u"MOV",

0 commit comments

Comments
 (0)