On December 10, 2007 09:13:37 Jérôme Chabod wrote: > Hello, > > Do you plan for a future release to synchronize MTP devices. > I have to use another program (gnomad2) in order to synchronize the file > on my Samsung YPU3, but before that, I must use the trick of > synchronisation to the file system in order to obtain readable file > names. It a lot of operation to perform, the implementation of MTP > synchronisation would ease the process a lot. > > Note: gnomad2 uses the libmtp C library. I don't now if it's something > easy to use a C library within python. > > Thanks for your program. > Jerome
I found this https://code.launchpad.net/pylibmtp which might be interesting but I don't really have time to look into it now. For a quick solution you could use mtpfs [1] (a fuse filesystem) in conjunction with gPodder's FS-based media player sync method. I have a little script which takes care of the mounting/unmounting part which you can get here: http://pastebin.ca/811034 (It's not perfect but it does the job ;) nick [1] http://www.adebenham.com/mtpfs/ _______________________________________________ gpodder-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-devel
