Luc, thanks for the patch. We've spent a fair amount of time at Yorba thinking about which metadata fields to write titles to. Unfortunately different programs use these fields in different ways. See the tables at
http://redmine.yorba.org/projects/shotwell/wiki/PhotoTags If we don't write to Iptc.Application2.Caption, then some programs (most notably Picasa) will not be able to read titles exported from Shotwell. On the other hand, some Apple programs (iPhoto and Picasa) use Iptc.Application2.Caption to store descriptions, so as you pointed out we could clobber those when writing. I don't see any ideal solution here at the moment. We generated the tables on the wiki page above by testing various programs a couple of years ago. It would be interesting to refresh those tables to see if programs' behavior has changed. I really hope that different programs can converge on a single metadata tag for storing captions and another for descriptions. Xmp.dc.title and Xmp.dc.description would be good candidates for this. adam On Sun, Sep 16, 2012 at 4:03 PM, Luc More <[email protected]> wrote: Hi Adam, The new build worked fine, thanks for the quick reaction. Then I patched the following because I would like shotwell to leave the Caption tag alone when setting the Picure Title (I use Caption with other programs for a long description on some photos). Eventually I'd like shotwell to handle both fields but that would be a much heavier change. Initial testing shows that it works well in my workflow (e.g. Flickr Uploader can set both fields on my uploads -- not if I use shotwell's plugin though). Thanks for this new shotwell. With this patch I'll be able to test much more extensively by using shotwell as my main photo management application, now that I'm confident it won't overwrite this Caption field. So far I've only done limited testing but had no problems. --- shotwell/src/photos/PhotoMetadata.vala 2012-09-17 00:14:09.933142226 +0200 +++ shotwell-0.13-patched//src/photos/PhotoMetadata.vala 2012-09-15 22:25:22.126927218 +0200 @@ -800,7 +800,7 @@ private const string IPHOTO_TITLE_TAG = "Iptc.Application2.ObjectName"; private static string[] STANDARD_TITLE_TAGS = { - "Iptc.Application2.Caption", +// "Iptc.Application2.Caption", "Xmp.dc.title", "Iptc.Application2.Headline", "Xmp.photoshop.Headline" De : Adam Dingle <[email protected]> À : Luc More <[email protected]> Cc : "[email protected]" <[email protected]> Envoyé le : Dimanche 16 septembre 2012 21h06 Objet : Re: [Shotwell] Build error 0.13 Luc, The build was broken - sorry about that. I've just committed a fix, so you might want to try again. adam _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
