Fixed 'Photos 5 only' text, #916 (#925)

This commit is contained in:
Rhet Turnbull 2023-01-15 15:22:55 -08:00 committed by GitHub
parent 227a3e2836
commit 81f4a4c3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -272,7 +272,7 @@ def QUERY_OPTIONS(f):
"--label",
metavar="LABEL",
multiple=True,
help="Search for photos with image classification label LABEL (Photos 5 only). "
help="Search for photos with image classification label LABEL (Photos 5+ only). "
'If more than one label, treated as "OR", e.g. find photos matching any label',
),
o(
@ -305,12 +305,12 @@ def QUERY_OPTIONS(f):
o(
"--shared",
is_flag=True,
help="Search for photos in shared iCloud album (Photos 5 only).",
help="Search for photos in shared iCloud album (Photos 5+ only).",
),
o(
"--not-shared",
is_flag=True,
help="Search for photos not in shared iCloud album (Photos 5 only).",
help="Search for photos not in shared iCloud album (Photos 5+ only).",
),
o(
"--burst",

View File

@ -142,7 +142,7 @@ def _process_faceinfo_4(photosdb):
face["facetype"] = row[26]
face["quality"] = row[27]
# Photos 5 only
# Photos 5+ only
face["agetype"] = None
face["eyemakeuptype"] = None
face["eyestate"] = None

View File

@ -832,10 +832,10 @@ class PhotosDB:
# for compatability with Photos 5 where album kind is ZKIND
"kind": album[7],
"creation_date": album[8],
"start_date": None, # Photos 5 only
"end_date": None, # Photos 5 only
"customsortascending": None, # Photos 5 only
"customsortkey": None, # Photos 5 only
"start_date": None, # Photos 5+ only
"end_date": None, # Photos 5+ only
"customsortascending": None, # Photos 5+ only
"customsortkey": None, # Photos 5+ only
}
# get details about folders