The command 'apt-cache rdepens libmtp8' returns the following list on Karmic:
  banshee
  python-pymtp
  mtpfs
  mtp-tools
  gnomad2
  banshee
  audacious-plugins-extra
  rhythmbox
  libmtp-dev
  amarok

Installing the new libmtp8 package doesn't give any problems.
Without rebuilding Banshee recognises the media player when it's connected and 
shows it, but the music list is empty; it places all data in the Other category 
and thinks it doesn't contain anything it can handle.

After installing the new library the device is mounted automatically
when it's conected when there is no other application running that wants
to use the device. Writing and reading to the device using the
gphoto2:// protocol works, although copying a music file didn't add it
to the music database on my player.

Building Rhythmbox and Banshee against the new library returns no
errors.

Adding and removing songs in Rhythmbox works, but trying to play back directly 
from the device results in this error:
 (rhythmbox:22234): GStreamer-WARNING **: 
 Trying to join task 0x2397290 from its thread would deadlock.
 You cannot change the state of an element from its streaming
 thread. Use g_idle_add() or post a GstMessage on the bus to
 schedule the state change from the main thread.

I'm not sure whether play back did work before I installed the newly
compiled version of libmtp.

When loading the device in Banshee this exception is raised:
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 MTP extended association type 0x00000001 encountered
 [Warn  15:19:39.338] 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] 

The behaviour of all programs is the same as before I rebuilt them against 
libmtp8 1.0.1. Interesting is this bug report: 
http://bugs.gentoo.org/show_bug.cgi?id=280718 
It says that libmtp 1.0.0 breaks MTP support in Banshee, which would plead 
against my case.

However, their does seem to be a lag when the program tries to detect
the device, more retries are needed. This could use some further
investigation.

This is my report for now, I'm still investigating on the matter, but I
thought it would be good to already inform you of the current problems.

** Bug watch added: Gentoo Bugzilla #280718
   http://bugs.gentoo.org/show_bug.cgi?id=280718

** Description changed:

  At 3 August 2009 libmtp 1.0.0 was released. This is the first 1.x
  release of libmtp. It is source compatible, but applications using it
  will have to be recompiled against it.
+ 
+ Affected rdepens:
+   banshee
+   python-pymtp
+   mtpfs
+   mtp-tools
+   gnomad2
+   banshee
+   audacious-plugins-extra
+   rhythmbox
+   libmtp-dev
+   amarok
  
  I suggest to upgrade to libmtp 1.0.1, which adds support for a lot of
  new devices, increases performance, improves artwork fetching and C++
  compatibility and
  
  Apart from new devices added between Karmic's 0.3.7 and 1.0.0, this release 
also includes some new functions and ways of checking the properties of the 
device.
  PTP object handling and metadata caching was rewritten, and handling large 
files should be less ugly now, according to the announcement.
  
  The release notes can be found at
  https://sourceforge.net/projects/libmtp/files/libmtp/1.0.1/1-0-1-rel-
  note.txt/download
  
  The announcement of the release can be found at
  
https://sourceforge.net/mailarchive/forum.php?thread_name=63386a3d0909112351v7be52327m9a8ea20c4bc63...@mail.gmail.com&forum_name
  =libmtp-discuss
  
  I request this version to be included in Karmic because:
  -It supports more devices, giving the user a better experience.
  -Since Karmic is still Alpha it can't be too complicated to update libmtp.
  -The developers felt comfortable enough with the code base to release it as 
their first 1.x release.
  -Future updates will be for 1.0.x, making it harder to do a minor version 
upgrade later on from 0.3.7.
  
  If we want good multimedia support we should make sure the libraries
  used for it are up-to-date.
  
  It fixes at least the folowing bugs:
  bug #306410
  bug #353914
  
  and maybe others as well.

-- 
[karmic] FreezeException request for libmtp
https://bugs.launchpad.net/bugs/424760
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to