From b3a7869bd3cc13e40cb3f68ff8caf12edda9a49c Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Wed, 17 Feb 2021 21:37:22 -0800 Subject: [PATCH] Added depth_state to _info --- osxphotos/_version.py | 2 +- osxphotos/photosdb/photosdb.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/osxphotos/_version.py b/osxphotos/_version.py index 2cdc6cf7..e567a803 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,3 +1,3 @@ """ version info """ -__version__ = "0.40.16" +__version__ = "0.40.17" diff --git a/osxphotos/photosdb/photosdb.py b/osxphotos/photosdb/photosdb.py index 6744ddc3..8bfbcbd9 100644 --- a/osxphotos/photosdb/photosdb.py +++ b/osxphotos/photosdb/photosdb.py @@ -2041,6 +2041,7 @@ class PhotosDB: # > 6 = portrait (sometimes, see ZDEPTHSTATE/ZDEPTHTYPE) info["customRenderedValue"] = row[22] info["hdr"] = True if row[22] == 3 else False + info["depth_state"] = row[36] info["portrait"] = True if row[36] != 0 else False # Set panorama from either KindSubType or RenderedValue