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
3 changed files with 8 additions and 8 deletions

View File

@@ -272,7 +272,7 @@ def QUERY_OPTIONS(f):
"--label", "--label",
metavar="LABEL", metavar="LABEL",
multiple=True, 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', 'If more than one label, treated as "OR", e.g. find photos matching any label',
), ),
o( o(
@@ -305,12 +305,12 @@ def QUERY_OPTIONS(f):
o( o(
"--shared", "--shared",
is_flag=True, 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( o(
"--not-shared", "--not-shared",
is_flag=True, 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( o(
"--burst", "--burst",

View File

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

View File

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