From a2987725151a0e4b6e399ccfeaedceac33afd5c6 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Fri, 28 May 2021 09:02:37 -0700 Subject: [PATCH] Updated tested versions to 11.3 --- README.md | 2 +- osxphotos/_constants.py | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9e8147ab..5ca52d68 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Only works on macOS (aka Mac OS X). Tested on macOS Sierra (10.12.6) until macOS | macOS Version | macOS name | Photos.app version | | ----------------- |------------|:-------------------| -| 10.16, 11.0-11.2 | Big Sur | 6.0 ✅ | +| 10.16, 11.0-11.3 | Big Sur | 6.0 ✅ | | 10.15.1 - 10.15.7 | Catalina | 5.0 ✅ | | 10.14.5, 10.14.6 | Mojave | 4.0 ✅ | | 10.13.6 | High Sierra| 3.0 ✅ | diff --git a/osxphotos/_constants.py b/osxphotos/_constants.py index cc1dedf8..484f61ad 100644 --- a/osxphotos/_constants.py +++ b/osxphotos/_constants.py @@ -70,6 +70,7 @@ _TESTED_OS_VERSIONS = [ ("11", "0"), ("11", "1"), ("11", "2"), + ("11", "3"), ] # Photos 5 has persons who are empty string if unidentified face @@ -212,8 +213,13 @@ EXTENDED_ATTRIBUTE_NAMES_QUOTED = [f"'{x}'" for x in EXTENDED_ATTRIBUTE_NAMES] OSXPHOTOS_EXPORT_DB = ".osxphotos_export.db" # bit flags for burst images ("burstPickType") -BURST_NOT_SELECTED = 0b10 # 2: burst image is not selected -BURST_DEFAULT_PICK = 0b100 # 4: burst image is the one Photos picked to be key image before any selections made -BURST_SELECTED = 0b1000 # 8: burst image is selected -BURST_KEY = 0b10000 # 16: burst image is the key photo (top of burst stack) -BURST_UNKNOWN = 0b100000 # 32: this is almost always set with BURST_DEFAULT_PICK and never if BURST_DEFAULT_PICK is not set. I think this has something to do with what algorithm Photos used to pick the default image \ No newline at end of file +BURST_NOT_SELECTED = 0b10 # 2: burst image is not selected +BURST_DEFAULT_PICK = ( + 0b100 +) # 4: burst image is the one Photos picked to be key image before any selections made +BURST_SELECTED = 0b1000 # 8: burst image is selected +BURST_KEY = 0b10000 # 16: burst image is the key photo (top of burst stack) +BURST_UNKNOWN = ( + 0b100000 +) # 32: this is almost always set with BURST_DEFAULT_PICK and never if BURST_DEFAULT_PICK is not set. I think this has something to do with what algorithm Photos used to pick the default image +