Currently,libgphoto2 doesn't seem to be able to tell a client application when it encounters a '.nomedia' file on a camera that exposes itself as a removeable storage device. These are frequently used on many camera-containing Android devices to tell an application that is interested in enumerating the image files in a given directory to skip the directory the .nomedia is found in.
It might be helpful to many applications if the library did have this capability.
Attached is a proposed patch that adds this.
Proposed patch; would make libgphoto2 capable of reporting the existence of Android-style .nomedia files.