2007/4/23, Mark Baas <mark.baas123@...>:
> Is this related to the mtp side or the ptp side? I think this should be
> implented, because the whole structure of my device is with subdirs, i can
> put any data on it, i can create folders etc. Therefore in the future there
> will be more players that are doiing the same as my philips one.
Yes you might be right. But in that case, you will need filesystem
abstraction inside libmtp and that is pointless to implement because
gPhoto already has that. Does your device work with gPhoto?
The reason we didn't do that in the beginning was that the MTP (nor PTP)
protocol says that folders shall be used like that. On the contrary, MTP
specifies that you shall use commands to select subsets of the entire
object store, not on a per-directory basis. Folders was more of a
However seeing the debate recur again and again I slowly begin to realize
that the folder tree abstraction is such a die-hard metaphor that it will
never die. (Which get me speculating that virtual folders comprising
search results etc, think WinFS, BeOS FS, etc, are also doomed from
here to eternity.)
Perhaps we really ought to pave the way for a smooth transition of all
libmtp apps to libgphoto2...