diff --git a/osxphotos/_version.py b/osxphotos/_version.py index 5212b6c7..073f0b6c 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,4 +1,4 @@ """ version info """ -__version__ = "0.35.2" +__version__ = "0.35.3" diff --git a/osxphotos/photoinfo/_photoinfo_export.py b/osxphotos/photoinfo/_photoinfo_export.py index bbee18b3..c60e6edb 100644 --- a/osxphotos/photoinfo/_photoinfo_export.py +++ b/osxphotos/photoinfo/_photoinfo_export.py @@ -592,9 +592,8 @@ def export2( export_as_hardlink, exiftool, touch_file, - convert_to_jpeg, + False, fileutil=fileutil, - jpeg_quality=jpeg_quality, ) exported_files.extend(results.exported) update_new_files.extend(results.new) diff --git a/osxphotos/photoinfo/photoinfo.py b/osxphotos/photoinfo/photoinfo.py index d11a3501..0fb116b6 100644 --- a/osxphotos/photoinfo/photoinfo.py +++ b/osxphotos/photoinfo/photoinfo.py @@ -545,6 +545,9 @@ class PhotoInfo: """ if self._db._db_version <= _PHOTOS_4_VERSION and self._info["has_raw"]: return self._info["raw_pair_info"]["UTI"] + elif self.shared: + # TODO: need reliable way to get original UTI for shared + return self.uti else: return self._info["UTI_original"] diff --git a/osxphotos/photosdb/photosdb.py b/osxphotos/photosdb/photosdb.py index 4a820815..3fc5010c 100644 --- a/osxphotos/photosdb/photosdb.py +++ b/osxphotos/photosdb/photosdb.py @@ -1908,6 +1908,7 @@ class PhotosDB: info["type"] = None info["UTI"] = row[18] + info["UTI_original"] = None # filled in later # handle burst photos # if burst photo, determine whether or not it's a selected burst photo