orangeturtle739 / photos-export Goto Github PK
View Code? Open in Web Editor NEWApple Photos export tool
License: GNU General Public License v3.0
Apple Photos export tool
License: GNU General Public License v3.0
Hi,
Left running the script on my 865Gb Library, sending the images to a external HD.
I ran for about 20 hours, the last time I saw, it was on 96%, but when I came back to take a look, found this error below. I don't know if finished extracting all photos. Is there a way to make sure ? I'd rather not run it again, takes too long. Is there a way to know wich photo is wrong ? Thank you
Inconsistent location: (-15.661620, -47.804955) -> (-15.661509, -47.804621)################################################################################## |Traceback (most recent call last):############################################################################################################################################# | File "./extract_photos.py", line 231, in <module> run(sys.argv[1], sys.argv[2]) File "./extract_photos.py", line 112, in run (latitude, longitude, new_latitude, new_longitude)) TypeError: float argument required, not NoneType MacBook-Alex:photos-export-master AlexAntao$
This seems wrong for me.
Trying to rewrite the album_folders.py to move and copy the apropriate files the the albuns folders, I got a lot of Missing File errors.
So, after some investigation, noticed that the JPEGs files generated all have the lower JPG extension, althrough in JSON it's reference is UPPERCASE.
Found this line in export_photos script:
os.path.splitext(master_path)[1].lower()))
This seems wrong because some systems the case matters, and we can have two different files with the same name but different case.
My external HD is formatted to HFS+ and when I will try to copy the file with the case lowered, it will not be found if its reference is Uppered case.
Hi,
I installed everything the README asked to.
I'm running HighSierra with python 2.7.15, and when I run the export_photos.py, get the following error:
python ./extract_photos.py ~/Pictures/Fotos\ do\ Alex.photoslibrary /Volumes/FOTOS\ DIGIKAM File "./extract_photos.py", line 195 file=log_file) ^ SyntaxError: invalid syntax
I'm rusty on my python, but did not see any error on file.
May be the spaces on the pathnames ?
Thanks
After exporting the library, I'm trying to organizing all of then into DIGIKAM.
I noticed then some strange things.
Almost all photos has no legends, and the Tag list dos not contain all tags/keywords I have on Photos.
I selected a photo I know, it show with no Title or tags, opened it's JSON generated file and the keywords field is empty, althrough in Photos it has 6 Tags and a title.
It's JSON has the uuid, path, in_library set, has no albuns, , no keywords, no rating (does it has in Photos ?) ans GPS settings set.
Should the keywords be included in JSON and after running the set EXIF script included in file ?
Or I misunderstood ?
Hi,
I tried running album_photos yesterday.
All photos were exported and set EXIF by running the other scripts. No errors.
It started running perfectly, created some albums and copied some files.
then, I received an exception with the error:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/AlexAntao/Pictures/Fotos do Alex.photoslibrary/Masters/2017/05/23/20170523-030211/05.10.2003 - Níver Pat2 - 01.jpg' -> '/Volumes/HDFOTOS/Fotos da Família/Casa da Pat - Guará/05.10.2003 - Níver Pat2 - 01.jpg'
I took a look on the script and noticed that, although it receive the source_dir as argument, it takes the real sourcefile from json file:
imagesource = data['path']
and uses it to copy.
that makes no sense, since the files to be copied should be the ones exported before with the previous scripts.
Hi,
I'm trying to use your script with Photos on MacOS 10.15 Catalina.
And it doesn't work.
It seems that the Photos Database have not the same structure than before.
Vincent
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.