From 924a5f2f6112687432176a3aa063c98b90c6cf1e Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sun, 11 Dec 2022 11:20:23 -0800 Subject: [PATCH] Added Ventura to list of supported OS (#863) --- osxphotos/_constants.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/osxphotos/_constants.py b/osxphotos/_constants.py index 1384dbd3..8d8a84b4 100644 --- a/osxphotos/_constants.py +++ b/osxphotos/_constants.py @@ -121,6 +121,7 @@ _TESTED_OS_VERSIONS = [ ("12", "4"), ("12", "5"), ("12", "6"), + ("13", "0"), ] # Photos 5 has persons who are empty string if unidentified face @@ -236,13 +237,13 @@ class SearchCategory: PHOTO_TYPE_FAVORITES, ] PHOTO_NAME = 2056 - CAMERA = None # Photos 8+ only - DETECTED_TEXT = None # Photos 8+ only + CAMERA = None # Photos 8+ only + DETECTED_TEXT = None # Photos 8+ only class SearchCategory_Photos8(SearchCategory): """Search categories for Photos 8""" - + # Many of the category values changed in Ventura / Photos 8 # and some new categories were added LABEL = 1500 @@ -253,12 +254,12 @@ class SearchCategory_Photos8(SearchCategory): KEYWORDS = 1200 TITLE = 1201 DESCRIPTION = 1202 - DETECTED_TEXT = 1203 # new in Photos 8 + DETECTED_TEXT = 1203 # new in Photos 8 PERSON = 1300 ACTIVITY = 1600 PHOTO_TYPE_FAVORITES = 2000 PHOTO_NAME = 2100 - CAMERA = 2300 # new in Photos 8 + CAMERA = 2300 # new in Photos 8 def search_category_factory(version: int) -> SearchCategory: