GNOME Bugzilla – Bug 566851
Request DPAP support in gthumb
Last modified: 2015-12-18 17:46:25 UTC
I am one of the maintainers of libdmapsharing, a library that provides an implementation of the DMAP protocol, including DAAP and DPAP. These are the protocols used by Apple's iTunes and iPhoto to share media. Libdmapsharing is currently available at https://sourceforge.net/projects/libdmapsharing. I would like to see support in gthumb for displaying other people's shared photographs and sharing photographs. Both of these features could be provided by libdmapsharing. This is similar to bug #551313, which asks for UPnP support. UPnP and DMAP can be seen as competing protocols.
I don't have any Apple computers, iPods, iPhones, or whatever, so I'm pretty ignorant on this topic. Would this be better implemented as a gvfs backend, so that all gnome apps could use it? - Mike
DPAP ties in nicely with mDNS/DNS-SD and provides a lot of metadata support, so I think applications would be better off using libdmapsharing directly. The gvfs backend is a good idea and might be useful in some cases, though. Libdmapsharing can work fine without using any Apple products. I maintain a server, dmapd, that can provide DPAP (photo) and DAAP (music) services. Dmapd is available at http://www.flyn.org/projects/dmapd/. In order to test DPAP sharing, one can run dmapd with "DMAPD_DEBUG=y dmapd -f -p /path/to/photograph/directory/." Libdmapsharing (master, available from GNOME Git) ships with a test application, dpapview, that can browse DPAP photo shares and demonstrates the use of libdmapsharing (using Vala) from the client side. Dpapview is about 225 lines of Vala code. If you'd like to browse a DPAP share on the local machine, then run "LIBDMAPSHARING_ENABLE_LOCAL=y ./dpapview."
Marking as obsolete, as the 2.x version are no longer supported. Please feel free to reopen this bug report if it describes a problem that still occurs with a current version of gThumb (currently 3.4.1).