Giter Club home page Giter Club logo

photos-export's People

Contributors

alexantao avatar orangeturtle739 avatar zenodhaene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

photos-export's Issues

Location Error at the end

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$

export_files exporting with tolower

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.

Syntax Error on MacOSX

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

export_photos not exporting keywords

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 ?

album_folders.py getting images from Photos Library

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.

Scripts doesn't work with MacOs Catalina

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

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.