Comments (6)
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.
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.
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.
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.
Good catch on the kc
vs. wc
! For rating, I think setting it 5 is fine.
from photos-export.
from photos-export.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photos-export.