Giter Club home page Giter Club logo

Comments (9)

RhetTbull avatar RhetTbull commented on June 11, 2024

@all-contributors please add @finestream for bugs

from osxphotos.

allcontributors avatar allcontributors commented on June 11, 2024

@RhetTbull

I've put up a pull request to add @finestream! 🎉

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

I've confirmed this behavior.

IMG_4179.jpeg
IMG_4179.jpeg.xmp
IMG_4179_edited.jpeg

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

Problem is here:

sidecar_writer = SidecarWriter(self.photo)
all_results += sidecar_writer.write_sidecar_files(dest=dest, options=options)

The sidecar gets written only for the original file name.

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

If --skip-original-if-edited is used, the edited sidecar does get generated.

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

Interesting....write_sidecar_files is called for the edited file but no sidecar is written.

2024-01-01T08:55:33.437060 write_sidecar_files called from __call__ with args: () and kwargs: {'dest':
PosixPath('/Users/rhet/Desktop/export/wedding_edited.jpeg'), 'options': ExportOptions(convert_to_jpeg=False, description_template=None,
download_missing=False, dry_run=False, edited=True, exiftool_flags=(), exiftool=False, export_as_hardlink=False, export_db=<osxphotos.export_db.ExportDB
object at 0x10f26eea0>, face_regions=True, fileutil=<class 'osxphotos.fileutil.FileUtilMacOS'>, force_update=False, ignore_date_modified=False,
ignore_signature=False, increment=True, jpeg_ext=None, jpeg_quality=1.0, keyword_template=(), live_photo=True, location=True, merge_exif_keywords=False,
merge_exif_persons=False, overwrite=False, persons=True, preview_suffix='_preview', preview=False, raw_photo=False,
render_options=RenderOptions(none_str='_', path_sep='/', expand_inplace=False, inplace_sep=',', filename=False, dirname=False, strip=False,
edited_version=False, export_dir='/Users/rhet/Desktop/export', dest_path='/Users/rhet/Desktop/export',
filepath='/Users/rhet/Desktop/export/wedding_edited.jpeg', quote=False, caller='export'), replace_keywords=False, rich=True, export_aae=False,
sidecar_drop_ext=False, sidecar=0, strip=False, timeout=120, touch_file=False, update=False, update_errors=False, use_albums_as_keywords=False,
use_persons_as_keywords=False, use_photokit=False, use_photos_export=False, verbose=<function noop at 0x10eb8d6c0>, tmpdir=None, favorite_rating=False)}
2024-01-01T08:55:33.437060 write_sidecar_files returned: ExportResults(datetime=2024-01-01T08:55:33.455364, converted_to_jpeg=[], deleted_directories=[],
deleted_files=[], error=[], exif_updated=[], exiftool_error=[], exiftool_warning=[], exported=[], exported_album=[], metadata_changed=[], missing=[],
missing_album=[], new=[], aae_written=[], sidecar_exiftool_skipped=[], sidecar_exiftool_written=[], sidecar_json_skipped=[], sidecar_json_written=[],
sidecar_xmp_skipped=[], sidecar_xmp_written=[], sidecar_user_written=[], sidecar_user_skipped=[], sidecar_user_error=[], skipped=[], skipped_album=[],
to_touch=[], touched=[], updated=[], xattr_skipped=[], xattr_written=[], user_written=[], user_skipped=[], user_error=[]), elapsed time:
0.00018601398915052414 sec

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

write_sidecar_files is being called with sidecar=0 for the edited file.

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

Found the issue...was in the cli/export.py code.

from osxphotos.

RhetTbull avatar RhetTbull commented on June 11, 2024

Fixed in v0.67.2

from osxphotos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.