GithubHelp home page GithubHelp logo

Comments (6)

orangeturtle739 avatar orangeturtle739 commented on June 10, 2024

Albums and keywords are supposed to be exported as tags. The database format may have changed and broken something. I don't have any libraries to test on, but if you figure it out, I'd be happy to merge another PR!

from photos-export.

alexantao avatar alexantao commented on June 10, 2024

I'll try. In fact, I tried some time ago but lacks me information about the Database structure, what each table/column means.
Some keywords are present, specially albums, but not all. I'll see next week.

from photos-export.

alexantao avatar alexantao commented on June 10, 2024

Just created a new Branch and found the problem and commited the modified file.
on interaction
for keyword_id in iter(kc.fetchone, None):

there's a mistake on the cursor used. The right one should be:
for keyword_id in iter(wc.fetchone, None):
Also, my compiler reported some imports were not being used, so I commented.
Tested on a Test Library with just some photos and all worked perfectly.
Now the JSON's contains all keywords tagged on a Photo.

from photos-export.

alexantao avatar alexantao commented on June 10, 2024

I'd like to ask something:
There's a field on script called Rating. My Photos has no rating on anything. The best similar would be the favorite field.

In Digikam there's a rating field. I know my Photos is not the last version, but if photos 4.0 does not have this option either, we could set the ration to MAX (I think it's 5?) is the photo is marked as favorite. this tag could be easily exported to JSON as the rating.

What do you think ?

from photos-export.

orangeturtle739 avatar orangeturtle739 commented on June 10, 2024

Good catch on the kc vs. wc! For rating, I think setting it 5 is fine.

from photos-export.

orangeturtle739 avatar orangeturtle739 commented on June 10, 2024

Resolved by #9, #10, and #11.

from photos-export.

Related Issues (6)

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.