GNOME Bugzilla – Bug 631810
Fallback for media-player detection
Last modified: 2010-12-18 17:59:17 UTC
I am currently contributing tens of mpi definitions in the media-device-info freedesktop project ; however this will always be a moving target and GNOME should have a way to detect a mass storage media-player device when no corresponding udev rule and mpi file exists. We are already doing this for "Photo devices" by detecting the presence of a "dcim" folder. For music player we could detect the presence of the following directories (this list has been compiled from the most used directories defined in media-device-info mpi files) : music/ Music/ MUSIC/ MP3/ The necessary environment should also be set in this case so that media players can actually see the mass storage device.
This is mostly NOTGNOME, as this kind of MIME sniffing is done according to the shared-mime-info, which tracks its bugs at http://bugs.freedesktop.org Once proper content type sniffing is done for the device, autorun will work pretty much out of the box.