Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: --download-missing doesn't work right with bursts #75

Open
RhetTbull opened this issue Mar 14, 2020 · 1 comment
Open

Bug: --download-missing doesn't work right with bursts #75

RhetTbull opened this issue Mar 14, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@RhetTbull
Copy link
Owner

--download-missing will copy all bursts images to a single exported file, Photos exports all the burst images not just the selected one

python -m osxphotos --debug export ~/Desktop/export --download-missing --exiftool --uuid 302C1FA8-FEAB-4F4A-9632-DCBEC328847A --original-name

2020-03-14 06:54:53,560 - DEBUG - photosdb.py - 2072 - photoinfo: [osxphotos.PhotoInfo(db=osxphotos.PhotosDB(dbfile='/Users/rhet/Pictures/Photos Library.photoslibrary/database/photos.db'), uuid='302C1FA8-FEAB-4F4A-9632-DCBEC328847A', info={'_uuid': '302C1FA8-FEAB-4F4A-9632-DCBEC328847A', 'modelID': None, 'masterUuid': None, 'masterFingerprint': 'AS2BRWDlNTOBwooVBLpvv8qxkEtl', 'name': None, 'lastmodifieddate': datetime.datetime(2019, 10, 14, 0, 51, 47, 147254), 'imageDate': datetime.datetime(2019, 6, 11, 10, 40, 24, 932112), 'imageTimeZoneOffsetSeconds': -25200, 'hidden': 0, 'favorite': 0, 'originalFilename': 'IMG_8344.JPG', 'filename': '302C1FA8-FEAB-4F4A-9632-DCBEC328847A.jpeg', 'directory': '3', 'latitude': 33.815463333333334, 'longitude': -117.99260833333334, 'hasAdjustments': 0, 'cloudbatchpublishdate': None, 'shared': False, 'extendedDescription': None, 'localAvailability': 1, 'remoteAvailability': 1, 'isMissing': 0, 'adjustmentUuid': None, 'adjustmentFormatID': None, 'type': 0, 'UTI': 'public.jpeg', 'burstUUID': 'DCC0592A-C5E6-4BA9-8006-544049A564F6', 'burstPickType': 52, 'burst': True, 'burst_key': True, 'subtype': 0, 'live_photo': False, 'screenshot': False, 'slow_mo': False, 'time_lapse': False, 'customRenderedValue': 0, 'hdr': False, 'portrait': False, 'panorama': False, 'selfie': False, 'cloudAssetGUID': '4B0D212C-DFCE-43C6-8539-CF1AAF44C2AC', 'cloudLocalState': 3, 'incloud': True, 'cloudLibraryState': None, 'cloudStatus': None, 'cloudAvailable': None, 'hasKeywords': 0, 'keywords': [], 'hasPersons': 0, 'persons': [], 'albums': [], 'hasAlbums': 0})] 2020-03-14 06:54:54,014 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8346.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,034 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8350.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,060 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8351.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,110 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8347.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,157 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8342.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,204 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8343.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,248 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8344.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,297 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8348.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,333 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8349.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg 2020-03-14 06:54:54,384 - DEBUG - utils.py - 405 - exporting /var/folders/83/756cs9y52z1g426b3psmzlbm0000gn/T/osxphotos__3jdf13l/IMG_8345.jpeg to dest_new: /Users/rhet/Desktop/export/IMG_8344.jpeg

@RhetTbull RhetTbull added the bug Something isn't working label Mar 14, 2020
@RhetTbull
Copy link
Owner Author

Partial fix in 0.22.16 to ensure right primary image is exported but ignore burst images. Need to refactor _export_photo_uuid_applescript as a method of PhotoInfo so it can access info on bursts. Also need to re-think filestem param on _export_photo_uuid_applescript to handle multiple burst images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant