collection scan only finds small fraction of music files, different number on each scan

Bug #472480 reported by Tomas Van Verrewegen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: amarok

I have a collection containing 8000+ files. Amarok only finds 10 to 20% of them.
Every time I click "Rescan Collection" I get a different number of tracks, between 0 and 3000.
When I click "Rescan Collection" the progress bar starts somewhere between 19% and 32%, sometimes goes up to 100%, sometimes doesn't increase.
It all looks very random and strange to me...

Please let me know what extra info needs to be attached for you guys to make some sense of this...

ProblemType: Bug
Architecture: amd64
Date: Tue Nov 3 10:31:58 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/amarok
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: amarok 2:2.2.0-0ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: amarok
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors: (polkit-gnome-authentication-agent-1:1731): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Tomas Van Verrewegen (tomasvanverrewegen) wrote :
Revision history for this message
Tomas Van Verrewegen (tomasvanverrewegen) wrote :

Did some more digging around... I have 3 scenarios now.

1. Internal database
---------------------------
$ rm -dfr ~/.kde/share/apps/amarok ~/.kde/share/config/amarok*
$ amarok --debug > amarok.debug.1 2>&1
--> 2399 tracks
click "Rescan Collection"
--> 0 tracks
click "Rescan Collection"
--> 0 tracks

2. External database
----------------------------
$ rm -dfr ~/.kde/share/apps/amarok

mysql> create database amarok;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT ALL ON amarok.* TO 'amarok'@'localhost' IDENTIFIED BY 'amarok';
Query OK, 0 rows affected (0.00 sec)

$ amarok --debug > amarok.debug.2 2>&1
--> 747 tracks
Rescan Collection
--> 668 tracks
Rescan Collection
--> 811 tracks
Rescan Collection
--> 1193 tracks
Rescan Collection
--> 1141 tracks
Rescan Collection
--> 2671 tracks

Run amarokcollectionscanner manually
------------------------------------------------------
~ amarokcollectionscanner -r ~/Music > amarok.scan
~ grep -c '<tags' amarok.scan
--> 8607 tracks

See attached files for output of "amarok --debug" and "amarokcollectionscanner".

Revision history for this message
Harald Sitter (apachelogger) wrote : Please report this bug at http://bugs.kde.org

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE
program itself, and not with our KDE packages. While we appreciate your issue,
it would be better if it was tracked at https://bugs.kde.org, so that the KDE
developers can deal with this speedily and have direct communication with you
as the reporter for more effective debugging.

Thanks!

 status invalid

Changed in amarok (Ubuntu):
status: New → Invalid
Revision history for this message
André Madureira (andreluizromano) wrote :

I had the same problem and this can be solved by installing the package "mysql-server"...

Is this a dependency issue related to MySql database? Can I install Mysql Client only instead of Server to solve this problem?

Since I installed this package, I hadn't had any problems with Amarok related to Partial Scan of my Collection root folder...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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