Added Ventura to list of supported OS (#863)

This commit is contained in:
Rhet Turnbull
2022-12-11 11:20:23 -08:00
committed by GitHub
parent 3557658b73
commit 924a5f2f61

View File

@@ -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: