[ubuntu-mono] [Bug 788532] Re: U1 music store plugin severely delays banshee startup

Rodney Dawes 788532 at bugs.launchpad.net
Thu May 26 13:55:11 UTC 2011


There seem to be a few things that can cause slowdown here. Having
copy_on_import enabled is one of them, and I think it is also the cause
of all the dupes and other similar problems. I wonder if we should
perhaps patch this option out, as it is one of the worst misfeatures a
music player could have.

There are also some slowdowns when we try to talk to ubuntuone-
syncdaemon over dbus, if syncdaemon isn't already running, or it fails
to start. This seems to be because much of the C library API we're using
to talk to it, is synchronous, and DBus stuff doesn't deal well when
things don't reply immediately. I will try to fix some of this, but it
may not be entirely doable for 11.04. :-/

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/788532

Title:
  U1 music store plugin severely delays banshee startup

Status in “banshee” package in Ubuntu:
  New

Bug description:
  Binary package hint: banshee

  Everytime Banshee starts a blank window appears, then after a few
  seconds it turns grey and stays grey for about 20 seconds, then
  finally the UI populates.  I ran Banshee with --debug and piped the
  output to a log file using tee.  I watched the log file while Banshee
  starts and as soon as all the plugins are loaded the U1 music store
  plugin start iterating over every music file I have purchased checking
  whether it has been copied to ~/Music.  If the file already exists
  then the log says something like "not copying because this file
  already exists in  ${HOME}/Music/.  During this exhaustive check is
  when Banshee's window goes grey (which is I think Compiz telling me
  the window is not sending updates and inactive).  As soon as those
  checks end, Banshee paints the window and I can use Banshee.

  I thought maybe the problem was that the files didn't need to be in
  ~/Music, so I deleted any files in ~/Music that were already in
  ~/.ubuntuone/Purchased from Ubuntu One/.  On next startup the log file
  showed the check w/o the "not copying messages" and Banshee started
  somewhat faster (but by no means fast).  I noticed I missed one file
  so I deleted that file in ~/Music and reran Banshee and watched the
  log file.  This time again all the files were back in ~/Music and
  Banshee took forever to start.

  This may have one other side effect.  I noticed that many of my
  purchased songs show up multiple times in my Library.  For instance, I
  purchased a song call "Hello" by Martin Solvig and that appears in my
  library five times.  Looking in ~/Music I see the file has been copied
  multiple times so I have the same file name with (n) appended to it.
  If I delete the dups they just reappear over time.

  This all seems very broken and wrong.

  1.  Why does the U1MS plugin need to check every time for purchases it has already recognised?
  2.  Why do the files need to be copied to ~/Music when it could just watch ~/.ubuntuone/Purchased from Ubuntu One/
  3.  Why do I keep getting multiple copies of purchased songs even after I delete the duplicates?

  Will attach my latest log file.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: banshee-extension-ubuntuonemusicstore 2.0.0-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
  Uname: Linux 2.6.38-8-generic-pae i686
  NonfreeKernelModules: wl
  Architecture: i386
  Date: Thu May 26 09:57:33 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110120)
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: banshee
  UpgradeStatus: No upgrade log present (probably fresh install)




More information about the Ubuntu-mono mailing list