automatic filters for thumbs.db and desktop.ini files

Bug #116802 reported by Nicolò Chieffo
52
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Rhythmbox
Expired
Wishlist
rhythmbox (Ubuntu)
Triaged
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

Rhythmbox automatically parses windows files such as desktop.ini and Thumbs.db.
This makes lots of delay when opening rhythmbox with the option to automatically check changes in the library, since it always tries to add them to the library.

jpeg files are filtered by default (no error is shown) so I think that .ini and .db files should be filtered too

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use? How do you know they are being parsed and slow down it?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 116802] Re: automatic filters for thumbs.db and desktop.ini files

I'm using the version of gutsy, which is 0.10.90-0ubuntu1 (and also
feisty version).
I know these files are parsed because when starging rhythmbox
(remember that I have the option "monitor new files in the library")
an icon appears with the label "error importing".

I think that they slow down because the process of monitoring the
library is very long (5 minutes for a 2,6GB library) and I also think
that determining a MIME type of a file is not a simple operation...

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I've started rhythmbox -d and capture some debug.
This is what I've understood:
the refresh of known music and jpegs lasts in 11 seconds
than I start seeing strange messages

Attached the log file starting from the strange message, after the last music file is parsed, and truncated after 250 lines (it was too big and the lines were similar).

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've sent the request upstream on http://bugzilla.gnome.org/show_bug.cgi?id=442061

Changed in rhythmbox:
importance: Low → Wishlist
status: Needs Info → Confirmed
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

rhythmbox (0.11.0-0ubuntu1) fixes it

Changed in rhythmbox:
status: Confirmed → Fix Released
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

In the sense that these files are not ignored, but at least the whole update process lasts in 10 seconds

Changed in rhythmbox:
status: Unknown → Unconfirmed
Revision history for this message
Tiede (marcarthur) wrote :

Does that mean that we will always have them in the "Error while importing" category.
I think it is safe to have it be skipped everytime... Is there a reason why this can't be done?

A rising issue I can see would be if the person is in a Mac, the files to skip are not .db, but probably .itc iTunes library files...
Maybe have a tab or section in the Preferences menu that prompts the user to specify filenames and/or filetypes to skip when parsing for new files in the library, since just deleting them only works until next open...

Revision history for this message
Gabriel Speckhahn (gabspeck) wrote :

I think it would be easier if Rhythmbox scanned for files known to contain audio *only*, since the list of file types it can handle is much smaller than the list of types it can't. It still occurs in the latest version of Rhythmbox in Hardy.

Changed in rhythmbox:
status: Fix Released → Triaged
Revision history for this message
keppelk (keppelk) wrote :

I am also using the "Watch my library for new files". Each time I load Rhythmbox I receive 148 import errors relating to Windows system files (Thumbs.db etc).

If this is not going to be "fixed", maybe an option could be provided to categorically exclude certain files or file types (either by MIME or extension). I personally would exclude all *.db, *.ini from the import process. This functionality would allow for iTune files (*.itc etc), Windows system files and any other user files defined.

Revision history for this message
Tiede (marcarthur) wrote :

It's February 2009, and this bug is finally triaged...
Am I to expect a release candidate soon?
Or am we waiting for Jaunty+1?
Needless to say, the error is still very much present...

Revision history for this message
Hew (hew) wrote :

Tiede, the bug has been reported upstream; this is what the Triaged status reflects in this case. Further progress on this bug will occur in the upstream report (although there has been no activity there for quite some time).

Changed in rhythmbox:
importance: Unknown → Wishlist
Revision history for this message
Neptilo (neptilo) wrote :

I just installed a fresh Ubuntu 14.04 and this bug hasn't even been solved in Rhythmbox 3.0.2??? Why?

Changed in rhythmbox:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.