From ce32ea93cea78ce8cd511310df940f3f3f10536b Mon Sep 17 00:00:00 2001 From: Adam Benali Date: Wed, 17 Jul 2024 19:17:55 +0200 Subject: [PATCH 1/2] Add captions as a photo field iOS 14 introduced captions to Photos. This PR adds the caption field to the list of requested fields. --- src/pyicloud_ipd/services/photos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyicloud_ipd/services/photos.py b/src/pyicloud_ipd/services/photos.py index dde4cc0a1..f7f25b7b5 100644 --- a/src/pyicloud_ipd/services/photos.py +++ b/src/pyicloud_ipd/services/photos.py @@ -501,7 +501,7 @@ def _list_query_gen(self, offset: int, list_type: str, direction: str, query_fil u'addedDate', u'isFavorite', u'isHidden', u'orientation', u'duration', u'assetSubtype', u'assetSubtypeV2', u'assetHDRType', u'burstFlags', u'burstFlagsExt', u'burstId', - u'captionEnc', u'locationEnc', u'locationV2Enc', + u'captionEnc', u'extendedDescEnc', u'locationEnc', u'locationV2Enc', u'locationLatitude', u'locationLongitude', u'adjustmentType', u'timeZoneOffset', u'vidComplDurValue', u'vidComplDurScale', u'vidComplDispValue', u'vidComplDispScale', From 7388329e8ea513ec6682f4f8f808389001bf37d9 Mon Sep 17 00:00:00 2001 From: Adam Benali Date: Fri, 19 Jul 2024 02:56:37 +0200 Subject: [PATCH 2/2] Add keywords --- src/pyicloud_ipd/services/photos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyicloud_ipd/services/photos.py b/src/pyicloud_ipd/services/photos.py index f7f25b7b5..4c53f52d8 100644 --- a/src/pyicloud_ipd/services/photos.py +++ b/src/pyicloud_ipd/services/photos.py @@ -501,7 +501,7 @@ def _list_query_gen(self, offset: int, list_type: str, direction: str, query_fil u'addedDate', u'isFavorite', u'isHidden', u'orientation', u'duration', u'assetSubtype', u'assetSubtypeV2', u'assetHDRType', u'burstFlags', u'burstFlagsExt', u'burstId', - u'captionEnc', u'extendedDescEnc', u'locationEnc', u'locationV2Enc', + u'captionEnc', u'extendedDescEnc', u'keywordsEnc', u'locationEnc', u'locationV2Enc', u'locationLatitude', u'locationLongitude', u'adjustmentType', u'timeZoneOffset', u'vidComplDurValue', u'vidComplDurScale', u'vidComplDispValue', u'vidComplDispScale',