From 8e11e237ef7d844c2cad7440962f43790b11e12a Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sun, 26 Jan 2020 21:38:14 -0800 Subject: [PATCH] Documentation update --- README.md | 4 ++-- osxphotos/photoinfo.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2e2e83b0..fdcb721a 100644 --- a/README.md +++ b/README.md @@ -658,8 +658,8 @@ Export photo from the Photos library to another destination on disk. - edited: boolean; if True (default=False), will export the edited version of the photo (or raise exception if no edited version) - overwrite: boolean; if True (default=False), will overwrite files if they alreay exist - increment: boolean; if True (default=True), will increment file name until a non-existent name is found -- sidecar_json: (boolean, default = False); if True will also write a json sidecar with IPTC data in format readable by exiftool; sidecar filename will be dest/filename.ext.json where ext is suffix of the image file (e.g. jpeg or jpg) -- sidecar_xmp: (boolean, default = False); if True will also write a XMP sidecar with IPTC data; sidecar filename will be dest/filename.ext.xmp where ext is suffix of the image file (e.g. jpeg or jpg) +- sidecar_json: (boolean, default = False); if True will also write a json sidecar with IPTC data in format readable by exiftool; sidecar filename will be dest/filename.json where filename is the stem of the photo name +- sidecar_xmp: (boolean, default = False); if True will also write a XMP sidecar with IPTC data; sidecar filename will be dest/filename.xmp where filename is the stem of the photo name - use_photos_export: boolean; (default=False), if True will attempt to export photo via applescript interaction with Photos; useful for forcing download of missing photos. This only works if the Photos library being used is the default library (last opened by Photos) as applescript will directly interact with whichever library Photos is currently using. - timeout: (int, default=120) timeout in seconds used with use_photos_export diff --git a/osxphotos/photoinfo.py b/osxphotos/photoinfo.py index 18a168f2..8948cb96 100644 --- a/osxphotos/photoinfo.py +++ b/osxphotos/photoinfo.py @@ -474,9 +474,9 @@ class PhotoInfo: increment: (boolean, default=True); if True, will increment file name until a non-existant name is found if overwrite=False and increment=False, export will fail if destination file already exists sidecar_json: (boolean, default = False); if True will also write a json sidecar with IPTC data in format readable by exiftool - sidecar filename will be dest/filename.ext.json where ext is suffix of the image file (e.g. jpeg or jpg) + sidecar filename will be dest/filename.json sidecar_xmp: (boolean, default = False); if True will also write a XMP sidecar with IPTC data - sidecar filename will be dest/filename.ext.xmp where ext is suffix of the image file (e.g. jpeg or jpg) + sidecar filename will be dest/filename.xmp use_photos_export: (boolean, default=False); if True will attempt to export photo via applescript interaction with Photos timeout: (int, default=120) timeout in seconds used with use_photos_export returns the full path to the exported file """