On Wed, May 25, 2011 at 11:39 AM, W. Michael Petullo <[email protected]> wrote:
> I am the maintainer of libdmapsharing; I am investigating the idea of > adding DPAP (iPhoto network browsing) support to Shotwell. I would like to > be able to browse photographs made available using DPAP (e.g., using dmapd > or iPhoto). Should I be focusing on learning the alien_db interface? I > see the existing F-Spot implementation. Does this copy photographs into > the native Shotwell database or operate on them in place? The latter is > similar to how a DPAP database implementation would work. > > Is there any other code I should focus on reading? > This is something we've talked about doing, but there's really no code in place that you could easily hook this up to. The Alien DB code was created for doing imports from other applications (namely F-Spot.) Now that said, the way Shotwell works is that all photos it knows about are in the database. So without re-architecting too much, the simplest way would likely be to store the remote photo information in the database, presumably with some kind of new marker column so you know that it's remote and can clean it up when the client disconnects. Perhaps the Alien DB interface could be expanded to allow for this, or maybe you'd want to create a new interface from scratch. Anyway, I'm afraid I can't offer any advice that's too detailed because I'm not super familiar with the way DPAP works. But it would be great if you could look into adding this to Shotwell, and certainly a killer feature. - Eric _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
