Hi Shaun, That looks good! I'm happy to help you make it into a Shotwell plugin if you want. The main complication of writing it in Vala will be that you will have to re-implement plistlib. It certainly doesn't look impossible as the parser is fairly simple (according to the code) but still a bit of work.
Otherwise, in order to deal with externally edited photos, you could do what the F-Spot import does at the moment and import each version as a different photo. It's not ideal but is a good way to work until Shotwell supports that feature. Cheers, Bruno On 10/12/12 04:20, Shaun Crampton wrote: > Hi, > > I posted to the list a while ago asking about an iPhoto importer. I > couldn't find one that preserved photo modifications, ratings and captions > so I ended up writing my own as a Python script. > > I've shared the code on github: > https://github.com/fasaxc/shotwell-iphoto-import > > It seems to work so far but that's only on one library! It doesn't support > videos yet and it skips files that I don't think are supported by shotwell > (such as gifs and psds). > > I did have a go at writing the importer as a plugin for Shotwell itsefl but > I realised that it was going to need quite large changes to the plugin > framework to make it work (and a big time investment from me to learn > enough vala). Specifically, I'd have needed to add a way to import an > externally-edited version of a photo along with the original, which I think > is missing right now. > > Thanks, > > Shaun > _______________________________________________ > Shotwell mailing list > [email protected] > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
