GNOME Bugzilla – Bug 578000
Exception when adding non avi video to MTP device
Last modified: 2010-09-06 22:55:45 UTC
Please describe the problem: When trying to add a non avi video from the banshee library to my Sansa Fuze I get the following error: [Warn 12:57:49.429] Caught an exception - LIBMTP_Update_Track_Metadata(): could not set track title. (in `') LIBMTP_Update_Track_Metadata(): could not set track artist name. (in `') LIBMTP_Update_Track_Metadata(): could not set track genre name. (in `') LIBMTP_Update_Track_Metadata(): could not set track release date. (in `') LIBMTP_Update_Track_Metadata(): could not set track album name. (in `') LIBMTP_Update_Track_Metadata(): could not set track title. (in `') LIBMTP_Update_Track_Metadata(): could not set track artist name. (in `') LIBMTP_Update_Track_Metadata(): could not set track genre name. (in `') LIBMTP_Update_Track_Metadata(): could not set track release date. (in `') LIBMTP_Update_Track_Metadata(): could not set track album name. (in `') LIBMTP_Update_Track_Metadata(): could not set track title. (in `') LIBMTP_Update_Track_Metadata(): could not set track artist name. (in `') LIBMTP_Update_Track_Metadata(): could not set track genre name. (in `') LIBMTP_Update_Track_Metadata(): could not set track release date. (in `') LIBMTP_Update_Track_Metadata(): could not set track album name. (in `') LIBMTP_Update_Track_Metadata(): could not retrieve supported object properties. (in `Mtp') at Mtp.LibMtpException.CheckErrorStack (Mtp.MtpDeviceHandle handle) [0x0006f] in /home/david/Projekter/banshee/src/Libraries/Mtp/Mtp/Error.cs:67 at Mtp.Track.SendTrack (Mtp.MtpDeviceHandle handle, System.String path, Mtp.TrackStruct& metadata, Mtp.ProgressFunction callback, IntPtr data) [0x00022] in /home/david/Projekter/banshee/src/Libraries/Mtp/Mtp/Track.cs:228 at Mtp.MtpDevice.UploadTrack (System.String path, Mtp.Track track, Mtp.Folder folder, Mtp.ProgressFunction callback) [0x0004e] in /home/david/Projekter/banshee/src/Libraries/Mtp/Mtp/MtpDevice.cs:251 at Banshee.Dap.Mtp.MtpSource.AddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Banshee.Base.SafeUri fromUri) [0x00030] in /home/david/Projekter/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs:325 at Banshee.Dap.DapSource.AttemptToAddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Banshee.Base.SafeUri fromUri) [0x00051] in /home/david/Projekter/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:318 at Banshee.Dap.DapSource.AddTrackAndIncrementCount (Banshee.Collection.Database.DatabaseTrackInfo track) [0x0000c] in /home/david/Projekter/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:361 at Banshee.Sources.PrimarySource.AddTrackList (System.Object cached_list) [0x00091] in /home/david/Projekter/banshee/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:635 Supported formats can be found here: http://en.wikipedia.org/wiki/Sansa_Fuze Steps to reproduce: 1. attach Sansa Fuze 2. drag non avi video to the device Actual results: The above error Expected results: Video added to device, if unsupported it should be transcoded to a supported format or an informative error stating the format is unsupport could be displayed. Does this happen every time? 100% for non avi video files Other information: x86_64, da_DK.UTF-8, Fedora 11, Mono 2.4 pre and SVN revision 5188 of Banshee.
What type of file (and w/ what extension) was the file you attempted to xfer?
I apologize for the delay, this got lost in the good old pile of bug reports. Confirmed with Ubuntu Karmic (alpha 6) and git commit 95a46d111a179d01c49c0a346076ec7677798532 for mp4 files. I believe this should suffice for testing: http://channel9.msdn.com/posts/Charles/Miguel-de-Icaza-Moonlight/ Select the download for iPod option and proceed to enjoy Miguels trust inspiring face and soothing voice convince you that Silverlight is the stuff of legend.. only not on your mtp connected device.
Bulk changing the assignee to banshee-maint@gnome.bugs to make it easier for people to get updated on all banshee bugs by following that address. It's usually quite apparent who is working on a given bug by the comments and/or patches attached.
Reopening as the requested information has been provided.
Works for me with libmtp 1.0.3 and banshee 1.7.5. If you can still reproduce the issue please reopen the bug.