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 520120 - Export metadata for MTP devices
Export metadata for MTP devices
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: gphoto backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks: 520121
 
 
Reported: 2008-03-03 15:59 UTC by Bastien Nocera
Modified: 2018-09-21 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-03-03 15:59:55 UTC
Here's a few features that Rhythmbox would need to use the gphoto2 gvfs backend.

- Export the device's serial number through G_FILE_ATTRIBUTE_ID_FILESYSTEM
- Allow get/set of the file metadata through the xattr namespace
Comment 1 David Zeuthen (not reading bugmail) 2008-03-03 16:38:40 UTC
There's probably a few other things we want like battery level; could also just be an attribute e.g. G_FILE_ATTRIBUTE_DEVICE_BATTERY_LEVEL. Might be useful on obex:// too. I don't know. Alex is probably not going to like it.

I wonder how hard this is to implement. Though libgphoto2 has a way of exporting the port so I think, if we want, we can directly send PTP/MTP commands. I don't know.
Comment 2 Bastien Nocera 2008-03-03 16:57:47 UTC
I talked to _Marcus_ on #gphoto and I was told there was already exported API to get/set metadata on objects using gphoto2.
Comment 3 David Zeuthen (not reading bugmail) 2008-03-03 17:04:14 UTC
ah, so this should be easy to add
Comment 4 Alexander Larsson 2009-03-10 14:04:00 UTC
Please don't use "standard" namespaces like xattr for things that are not identical to extended attributes. Just make your own namespace.
Comment 5 GNOME Infrastructure Team 2018-09-21 16:18:45 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/39.