@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user