diff options
author | Linus Walleij <triad@df.lth.se> | 2006-06-05 13:23:33 +0000 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2006-06-05 13:23:33 +0000 |
commit | fcf88914ca28d9282cb76c0b3af7b4713f980a81 (patch) | |
tree | 50437b81a723af77c6de8853f96aa874f2292eb9 | |
parent | 52e3ac5c999e3271f414d1f71da58e1430ed3813 (diff) | |
download | libmtp-0-0-8.tar.gz |
Minor glitchlibmtp-0-0-8
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | src/libmtp.c | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -26,7 +26,7 @@ libmtp is based on several ancestors: of gPhoto: http://gphoto.sourceforge.net/ * libnjb was a project that Richard and Linus were working - on before libmtp. When Linux took Richards initial port + on before libmtp. When Linus took Richards initial port and made an generic C API he re-used the philosophy and much code from libnjb. Many of the sample programs are for example taken quite literally from libnjb. You find it here: @@ -76,6 +76,11 @@ Contributing See the project page at http://libmtp.sourceforge.net/ We always need your help. +If you happen upon a device which libmtp claims it cannot +autodetect, please submit the vendor ID and device ID +as a bug, patch or feature request on the Sourceforge +bug tracker at our homepage. + Calendar support: ----------------- diff --git a/src/libmtp.c b/src/libmtp.c index 19452dd..6e2a288 100644 --- a/src/libmtp.c +++ b/src/libmtp.c @@ -1817,9 +1817,7 @@ int LIBMTP_Send_Track_From_File_Descriptor(LIBMTP_mtpdevice_t *device, new_track.Filename = metadata->filename; new_track.ObjectCompressedSize = metadata->filesize; new_track.ObjectFormat = map_libmtp_type_to_ptp_type(metadata->filetype); - printf("Filename: %s, size: %d, format %d->%d\n", metadata->filename, metadata->filesize, metadata->filetype, - new_track.ObjectFormat); - + // Create the object ret = ptp_sendobjectinfo(params, &store, &localph, &metadata->item_id, &new_track); if (ret != PTP_RC_OK) { |