Bug 130713

Summary: Banshee: Improving Initial Popup
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Karl Eichwalder <ke>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Documentation Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Karl Eichwalder 2005-10-26 09:22:23 UTC
[Filed as requested by Rodrigo;]

From: Karl Eichwalder <ke@suse.de>
Subject: Re: Disappointed About Banshee
To: Rodrigo Moya <rodrigo@novell.com>
Cc: gnome-maintainers@suse.de
Date: Wed, 26 Oct 2005 11:10:18 +0200

Rodrigo Moya <rodrigo@novell.com> writes:

> On Wed, 2005-10-26 at 09:25 +0200, Karl Eichwalder wrote:
>> I'm also wondering what's the purpose of this initial "Import Music"
>> popup.  It isn't obvious what this "Automatic Import" means.  If I click
>> on it, it displays kind of a busy cursor but it does not report what it
>> is actually doing.  Does it try to locate music files on my file
>> systems?  Also on NFS mounted file systems?
>> 
> yes, I believe so, it searches your home folder for music.

Yes, it finally finished and wrongy detected 590 xml files (mostly
xhtml).  I'd say the popup should say something as follows:

    Automatically: Search for music files on your computer...  Depending
    on your storage devices this may take quite some time.  Expect
    wrongly classified files that you will have to remove later.
Comment 1 JP Rosevear 2005-10-26 11:57:49 UTC
It does search for music, we are looking at moving to using beagle to do the initial search so that the search takes only a couple of seconds.

Wrongly classified songs are clearly an error.  The mime system is probably brokenly sniffing these files.

CC'ing aaron to confirm the broken sniffing.
Comment 2 Mark Gordon 2005-10-27 19:39:46 UTC
Stanislav also reported slow automatic import:

https://bugzilla.novell.com/show_bug.cgi?id=118186

Maybe it has problems with NFS home directories...
Comment 3 Aaron Bockover 2006-04-03 12:12:58 UTC
The actual dialog UI for importing has improved dramatically and now offers the following import options:

  * Import Folder
  * Import Files
  * Home Directory Import (was called Automatic Import)
  * Audio CD (if disk is detected)

I think just re-labeling "automatic" to "home directory" changes expectations (i.e. "this may take some time").

As for the mime sniffing... GStreamer is used to do detection and the fallback is Gnome VFS. It is possible that the files may be imported if mime detection fails or is incorrect. 

Can you a) see if this is still an issue and b) find the mime type and provide the file extension for the XML files:

$ gst-typefind-0.10 /path/to/xml/file

Finding the mime type that Gnome VFS reports may be helpful too, but if the above command works, it's not necessary.
Comment 4 Aaron Bockover 2006-04-06 15:43:08 UTC
We will be using the shared mime system for Gnome VFS instead of GStreamer for typefinding. Our tests have shown mimetype sniffing is more reliable with Gnome VFS.
Comment 5 JP Rosevear 2006-04-20 02:42:06 UTC
Since the initial popup is improved and the slow import is covered elsewhere, closing.