After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 631810 - Fallback for media-player detection
Fallback for media-player detection
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-10 10:22 UTC by Jonathan Ernst
Modified: 2010-12-18 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Ernst 2010-10-10 10:22:20 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.
Comment 1 Cosimo Cecchi 2010-12-18 17:59:17 UTC
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.