GNOME Bugzilla – Bug 601622
MTP upload creates corrupted files on Creative Zen Mosaic
Last modified: 2009-12-23 17:07:55 UTC
When dragging a podcast onto my device in Banshee, a progress dialog is shown, uploads looks fine. The file then appears on the device, but trying to play it results in the device complaining that "something is wrong" with the file. If I look at it with Gnomad, the file is listed as being of type WAV while all others are of type MP3. Used to work with previous versions. banshee-1.5.1-3.fc12.x86_64 libmtp-1.0.1-1.fc12.x86_64 Additionally, banshee cannot list the content of my device. [Warn 23:32:00.114] Caught an exception - Object reference not set to an instance of an object (in `Mtp') at (wrapper unknown) Mtp.TrackStruct:PtrToStructure (intptr,object) at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type) at Mtp.MtpDevice.GetAllTracks (Mtp.ProgressFunction callback) [0x00000] at Banshee.Dap.Mtp.MtpSource.LoadFromDevice () [0x00000]
Do you know which version of libmtp your banshee package was compiled against ? There was a change in the TrackStruct introduced by libmtp 1.0.0 that we have to take into account, and it's detected at compile time. See http://git.gnome.org/cgit/banshee/commit/?id=ff659577f6d6ce243b4f2c837a1eae6178956cfa
I'm not sure I understand your question, this is libmtp-1.0.1-1.fc12.x86_64 as I indicated. Here's the package page: http://koji.fedoraproject.org/koji/buildinfo?buildID=131651 It doesn't appear to have any patch. I will try to recompile it, see how it goes.
Please test the fix attached to the other bug report if possible to confirm everything works for you now. The patch (or a modified version thereof) should hit git master soon enough. Thanks, Alan. *** This bug has been marked as a duplicate of bug 594191 ***