[Kde-hardware-devel] Identifying iPod and iPhone-like devices using Solid (was: Amarok review request)

Christophe Fergeau cfergeau at redhat.com
Fri Oct 28 09:56:59 UTC 2011


Hey,

On Wed, Oct 26, 2011 at 04:05:33PM +0200, Matěj Laitl wrote:
> In an ideal world (in my opinion):
>  * PortableMediaPlayer::supportedProtocols() would return a list containing 
> "ipod" for all iPod-like devices (it should just parse /usr/share/media-
> player-info/${ID_MEDIA_PLAYER}.mpi)
>  * PortableMediaPlayer::supportedDrivers() would return a list containing 
> "usb" for traditional iPods and something like "usbmuxd" for iPhone-like 
> devices. (this would be more tricky, but could use udev env USBMUX_SUPPORTED)

Yep, when designing this, don't forget that detection of iOS devices
(iPhones, iPod Touches and iPads) is entirely different from the detection
of the other devices. It's good that you mention it here :)
> 
> Another question would be how to access iPhone-like devices the best way once 
> identified, but let's first solve identification.

libgpod will need a regular path to access the device database though. What
happens in gnome is that gvfs provides native access to iOS devices through
libimobiledevice, and then also exposes this through a fuse mountpoint.
There has been some work on a similar kio-afc backend, see
https://github.com/JonathanBeck/kio_afc but maybe there are newer efforts
on this. And you have ifuse which amarok uses.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20111028/8fd61f82/attachment.sig>


More information about the Kde-hardware-devel mailing list