gvfs-gphoto breaks support for mtp music players



The gphoto backend for gvfs is causing huge issues for media
applications which want to allow hotplugging of MTP players. The
details are in this bug report [0] but I'll spell it out briefly here:

The issue boils down to both the media player (in this case banshee
via libmtp) and gvfs (via libgphoto) trying to mount the same device
at the same time. Banshee attempts to unmount the device before it
accesses it via libmtp but if it calls Unmount at the wrong time
(pretty much any time before the device has completely finished
mounting), the device can become unusable until it's disconnected and
reconnected. This basically means to be safe Banshee should need to
sleep for 15-20 seconds before attempting to access any MTP based DAP,
and that's a bit of a hacky workaround.

Is there any way to resolve this so that banshee is able to safely
unmount the device so it can access it itself?

Alan

[0] https://bugzilla.novell.com/show_bug.cgi?id=614657


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]