Working on fix for issue #203

This commit is contained in:
Rhet Turnbull
2020-08-17 06:32:55 -07:00
parent 9b13d1e00b
commit 2bf5fae093
2 changed files with 3 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
""" version info """
__version__ = "0.33.0"
__version__ = "0.33.1"

View File

@@ -1898,13 +1898,14 @@ class PhotosDB:
# Handle HDR photos and portraits
# ZGENERICASSET.ZCUSTOMRENDEREDVALUE
# 2 = portrait (maybe, see issue #203)
# 3 = HDR photo
# 4 = non-HDR version of the photo
# 6 = panorama
# 8 = portrait
info["customRenderedValue"] = row[22]
info["hdr"] = True if row[22] == 3 else False
info["portrait"] = True if row[22] == 8 else False
info["portrait"] = True if row[22] == 8 or row[22] == 2 else False
# Set panorama from either KindSubType or RenderedValue
info["panorama"] = True if row[21] == 1 or row[22] == 6 else False