Added Ventura to list of supported OS (#863)
This commit is contained in:
@@ -121,6 +121,7 @@ _TESTED_OS_VERSIONS = [
|
|||||||
("12", "4"),
|
("12", "4"),
|
||||||
("12", "5"),
|
("12", "5"),
|
||||||
("12", "6"),
|
("12", "6"),
|
||||||
|
("13", "0"),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Photos 5 has persons who are empty string if unidentified face
|
# Photos 5 has persons who are empty string if unidentified face
|
||||||
@@ -236,13 +237,13 @@ class SearchCategory:
|
|||||||
PHOTO_TYPE_FAVORITES,
|
PHOTO_TYPE_FAVORITES,
|
||||||
]
|
]
|
||||||
PHOTO_NAME = 2056
|
PHOTO_NAME = 2056
|
||||||
CAMERA = None # Photos 8+ only
|
CAMERA = None # Photos 8+ only
|
||||||
DETECTED_TEXT = None # Photos 8+ only
|
DETECTED_TEXT = None # Photos 8+ only
|
||||||
|
|
||||||
|
|
||||||
class SearchCategory_Photos8(SearchCategory):
|
class SearchCategory_Photos8(SearchCategory):
|
||||||
"""Search categories for Photos 8"""
|
"""Search categories for Photos 8"""
|
||||||
|
|
||||||
# Many of the category values changed in Ventura / Photos 8
|
# Many of the category values changed in Ventura / Photos 8
|
||||||
# and some new categories were added
|
# and some new categories were added
|
||||||
LABEL = 1500
|
LABEL = 1500
|
||||||
@@ -253,12 +254,12 @@ class SearchCategory_Photos8(SearchCategory):
|
|||||||
KEYWORDS = 1200
|
KEYWORDS = 1200
|
||||||
TITLE = 1201
|
TITLE = 1201
|
||||||
DESCRIPTION = 1202
|
DESCRIPTION = 1202
|
||||||
DETECTED_TEXT = 1203 # new in Photos 8
|
DETECTED_TEXT = 1203 # new in Photos 8
|
||||||
PERSON = 1300
|
PERSON = 1300
|
||||||
ACTIVITY = 1600
|
ACTIVITY = 1600
|
||||||
PHOTO_TYPE_FAVORITES = 2000
|
PHOTO_TYPE_FAVORITES = 2000
|
||||||
PHOTO_NAME = 2100
|
PHOTO_NAME = 2100
|
||||||
CAMERA = 2300 # new in Photos 8
|
CAMERA = 2300 # new in Photos 8
|
||||||
|
|
||||||
|
|
||||||
def search_category_factory(version: int) -> SearchCategory:
|
def search_category_factory(version: int) -> SearchCategory:
|
||||||
|
|||||||
Reference in New Issue
Block a user