Re: [darktable-user] D200 "Image Comment" and Darktable

2016-09-18 Thread Tobias Ellinghaus
Am Sonntag, 18. September 2016, 05:45:27 CEST schrieb James:
> For years, I've had my Nikon D200 insert an Image Comment in each *.xmp
> file that contains a makeshift copyright symbol along with my name and
> phone number.
> 
> My phone number has changed several times so I wrote a simple bash script
> that uses sed to exchange each of the old phone numbers with the current
> one whenever they're found. The script runs well. I view any modified *.xmp
> and clearly see that the phone numbers have been updated.
> 
> Problem is, when I view those photos in Darktable, the old number/s still
> appear in the Metadata Editor as though nothing's been changed.
> 
> Does Darktable store this information in another location or it is a matter
> of getting it to reread or refresh?

darktable caches these things in a database. Try enabling "look for updated 
xmp files in startup" in the core tab of the preferences. Theoretically that 
should make darktable notice when XMP files changed behind its back and offer 
to re-read them.

> Jim Coleman
> http://www.linkedin.com/in/jamescoleman
> http://www.flickr.com/photos/jecoleman/sets
> 
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



signature.asc
Description: This is a digitally signed message part.


Re: [darktable-user] D200 "Image Comment" and Darktable

2016-09-18 Thread Patrick Shanahan
* James  [09-18-16 05:48]:
> For years, I've had my Nikon D200 insert an Image Comment in each *.xmp
> file that contains a makeshift copyright symbol along with my name and
> phone number.
> 
> My phone number has changed several times so I wrote a simple bash script
> that uses sed to exchange each of the old phone numbers with the current
> one whenever they're found. The script runs well. I view any modified *.xmp
> and clearly see that the phone numbers have been updated.
> 
> Problem is, when I view those photos in Darktable, the old number/s still
> appear in the Metadata Editor as though nothing's been changed.
> 
> Does Darktable store this information in another location or it is a matter
> of getting it to reread or refresh?

you need to tell dt to read the altered xmp files or it will report from
the data within ~/.config/darktable/library.db, which you have not
changed.

might be simpler to edit library.db with sqlitebrowser or sqliteman and
change the comment when to alter the xmp files.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org