Compare commits

...

1 Commits

Author SHA1 Message Date
Rhet Turnbull
41b23991df Fix for issue #235, #236 2020-10-15 06:31:13 -07:00
4 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
""" version info """ """ version info """
__version__ = "0.35.2" __version__ = "0.35.3"

View File

@@ -592,9 +592,8 @@ def export2(
export_as_hardlink, export_as_hardlink,
exiftool, exiftool,
touch_file, touch_file,
convert_to_jpeg, False,
fileutil=fileutil, fileutil=fileutil,
jpeg_quality=jpeg_quality,
) )
exported_files.extend(results.exported) exported_files.extend(results.exported)
update_new_files.extend(results.new) update_new_files.extend(results.new)

View File

@@ -545,6 +545,9 @@ class PhotoInfo:
""" """
if self._db._db_version <= _PHOTOS_4_VERSION and self._info["has_raw"]: if self._db._db_version <= _PHOTOS_4_VERSION and self._info["has_raw"]:
return self._info["raw_pair_info"]["UTI"] return self._info["raw_pair_info"]["UTI"]
elif self.shared:
# TODO: need reliable way to get original UTI for shared
return self.uti
else: else:
return self._info["UTI_original"] return self._info["UTI_original"]

View File

@@ -1908,6 +1908,7 @@ class PhotosDB:
info["type"] = None info["type"] = None
info["UTI"] = row[18] info["UTI"] = row[18]
info["UTI_original"] = None # filled in later
# handle burst photos # handle burst photos
# if burst photo, determine whether or not it's a selected burst photo # if burst photo, determine whether or not it's a selected burst photo