-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
WIP: timeline server supporting features #466
Conversation
Signed-off-by: xiangbin.li <dassio@icloud.com>
Signed-off-by: xiangbin.li <dassio@icloud.com>
Signed-off-by: xiangbin.li <dassio@icloud.com>
Signed-off-by: xiangbin.li <dassio@icloud.com>
Hey! Thanks a lot for addressing this! Proper metadata integration should NOT go into photos. It should be straight into server so that another apps can benefit from this! Are you on our community chat https://cloud.nextcloud.com/call/xs25tz5y? Hope you didn't put that many hours into this yet! Let's see what we can do! 💪 |
I realised you're already on the Photos public room as well 🚀 |
This in Server would solve a bunch if problems for nextcloud/maps, too. CC @eneiluj |
not sure about this one, this is not general metadata, it is metadata specific for photos and it can be exposed as API. I think the community has been back and forth with the issue, and there should not be only one way of doing it right , for a simple photos metadata reader, we should move forward also changing the server app will bring more people with conflicting ideas, if we have a seperate repo for photos, we should improve on ourself before contributing to the server app
it is a good learning experience
several days goes by without any reply to my design, I though that the public photos group is dead |
at least the working the database part on server repo and api part on photos repo will be an horrifying dev experience i think we should fix the functionality here before moving the code to server app |
Thanks for your work 👍
Database and Api should be server (to make this functionality available to other apps as well). Api in this context means a php component to fetch meta data for a give file. A rest api will be done by the apps itself. If we implement it here other apps (like maps) have to maintain a dependency to photos. If photos app is installed and enabled use meta data. That's bad to maintain. Keep the good work up 🚀 |
but the design of the API will be highly influenced by the app who is using it, maybe we can come up with a general API but i don't see how can that come to life without any app using it, we have to iterate to get the final perfect API that fits all app. some API are only meant to be used by specific photos app, like: photos app does not care about the pdf metadata. we should have the api matrue enough before thinking about making it general in the core server app |
when I say horrifying I mean we will have seperate PRs and maybe in the server PR people will say this have to kept in a seperate app , and in the photos PR people will say this have to be in the server app, and it will get stuck like all the other issues years ago i want to move forward first here |
Not if it's generic. Metadatas are metadata, whatever info the app is using, the database should not care. Taken date, geolocation, focale, aperture, brand... etc etc Then the photos app can request specific data from it. |
yes, metadata is generic , but the API is not , photos will request diffrent meta API than an ebook app , i am just saying that from the start the development , we don't have to seperate the DB and API , we can move the DB later to the core serve app |
No, the API should be generic too. |
I'm following this discussion and I have the feeling that we are not all talking about the same things, so let me try to provide my point of view here - because in the end I believe we are talking about very similar things, and the feature would be really beneficial not only for bringing Photos forward but also for many other apps. All below should be appended with "AFAIK"... There are two APIs being talked about.
Now, the question is how to move forward from here.
|
Thank for clarifying, I agree with what you said
I'd rather have this done properly once than having to come back to old code and clean/migrate it. PS; @simonspa, wanna be part of the discussion to design and define goals on this metadata api? EDIT:
Well, photos is tight to the server schedule, so this pr won't see the light before 21 anyway 😉 |
Sure, if I can be of any help? :)
yes, as I said:
So basically if we want this in the next feature release we have 4 months minus feature freeze deadline anyway and can use this time to make a proper dent. What do you think @dassio - would you be in for defining and implementing the metadata API? The second API is almost there already thanks to your great work! |
we already have an converstaion on the server : https://cloud.nextcloud.com/call/vqrbn4qp , i would be really glade see how can we implement
|
add metadata to photos own database for fast timeline info query
following changes are added :
4 add API to get list of file ids of one specific month
TODO:
extract photo metadata during upload, pending server pull request : 23230