Tags managing

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Tags managing

Anders Kamf
Hi

What is the proper way to read metadata from file and replace the Digikam database metadata with the file metadata (for a small selection of pictures)?

My use case is that pictures on my server are updated with new or replaced tags. I need Digikam to reflect this change, i.e. remove existing tags for that picture from the database and read new ones from the file.

 “Read metadata from file to database” will append tags from file with existing ones. 
To manually remove existing tags from the pictures before “Read from file…” will not work since Digikam is (and in my case should be) set to write tags to file, hence the existing file metadata would be overwritten.

Today I do time consuming workarounds by renaming folders etc. making Digikam think it is new pictures. Is there a more proper way to achieve this? 
Any help is appreciated!


Best Regards
Anders

Reply | Threaded
Open this post in threaded view
|

Re: Tags managing

Dan Dascalescu
Same question here. I use F-Stop Gallery on my Android to manage tags. Typical operations:

1. Copy untagged or partially images from my computer to my Android, to tag during idle periods (e.g. waiting in line).
2. Tag them on Android. Most often I add existing tags, but sometimes I create new tags, remove some, or rename tags.
3. Copy the images back to the computer, overwriting the original ones. I'd like digiKam to read the new tags from these images:
a) add the new tags,
b) rename the ones I've renamed - which I realize is tricky because photos outside of those I've copied to my Android may have the tags I had renamed
c) delete the tags I've deleted - tricky for the same reason above.

So to Anders, how would you design the algorithm for updating tags?


On Fri, Feb 17, 2017 at 12:59 AM, Anders Kamf <[hidden email]> wrote:
Hi

What is the proper way to read metadata from file and replace the Digikam database metadata with the file metadata (for a small selection of pictures)?

My use case is that pictures on my server are updated with new or replaced tags. I need Digikam to reflect this change, i.e. remove existing tags for that picture from the database and read new ones from the file.

 “Read metadata from file to database” will append tags from file with existing ones. 
To manually remove existing tags from the pictures before “Read from file…” will not work since Digikam is (and in my case should be) set to write tags to file, hence the existing file metadata would be overwritten.

Today I do time consuming workarounds by renaming folders etc. making Digikam think it is new pictures. Is there a more proper way to achieve this? 
Any help is appreciated!


Best Regards
Anders


Reply | Threaded
Open this post in threaded view
|

Re: Tags managing

jdd@dodin.org
Le 18/02/2017 à 10:33, Dan Dascalescu a écrit :

> b) rename the ones I've renamed - which I realize is tricky because
> photos outside of those I've copied to my Android may have the tags I
> had renamed

similar case come with online galleries. I share my photos on a Piwigo
gallery as there it's sometime easier to tag, as all the photos are
available at once, what is not the case on my digikam gallery (photos
are on usb disk).

right now piwigo only stores tags on the database.

What I would like (and could do myself if time permits) is to share tags
through xml sidecars, light and easy to share (when the complete gallery
is pretty heavy)

jdd

Reply | Threaded
Open this post in threaded view
|

Re: Tags managing

AndriusWild
In reply to this post by Anders Kamf
I am interested in a solution too.
I think the only way is to delete tags from the database (there is such option in Tags Manager) and read metadata from files for selected images.

Attached is an example of xmp file F-Stop creates for video files.3 tags and rating of 4.
Will digikam read it?

Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Dan Dascalescu <[hidden email]>
Date: 2017-02-18 2:33 AM (GMT-07:00)
To: digiKam - Home Manage your photographs as a professional with the power of open source <[hidden email]>
Subject: Re: Tags managing

Same question here. I use F-Stop Gallery on my Android to manage tags. Typical operations:

1. Copy untagged or partially images from my computer to my Android, to tag during idle periods (e.g. waiting in line).
2. Tag them on Android. Most often I add existing tags, but sometimes I create new tags, remove some, or rename tags.
3. Copy the images back to the computer, overwriting the original ones. I'd like digiKam to read the new tags from these images:
a) add the new tags,
b) rename the ones I've renamed - which I realize is tricky because photos outside of those I've copied to my Android may have the tags I had renamed
c) delete the tags I've deleted - tricky for the same reason above.

So to Anders, how would you design the algorithm for updating tags?


On Fri, Feb 17, 2017 at 12:59 AM, Anders Kamf <[hidden email]> wrote:
Hi

What is the proper way to read metadata from file and replace the Digikam database metadata with the file metadata (for a small selection of pictures)?

My use case is that pictures on my server are updated with new or replaced tags. I need Digikam to reflect this change, i.e. remove existing tags for that picture from the database and read new ones from the file.

 “Read metadata from file to database” will append tags from file with existing ones. 
To manually remove existing tags from the pictures before “Read from file…” will not work since Digikam is (and in my case should be) set to write tags to file, hence the existing file metadata would be overwritten.

Today I do time consuming workarounds by renaming folders etc. making Digikam think it is new pictures. Is there a more proper way to achieve this? 
Any help is appreciated!


Best Regards
Anders



elephants-dream.xmp (918 bytes) Download Attachment