Bug 174329 - importer only works partially
Summary: importer only works partially
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0-SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 12:21 UTC by Manuel Amador (Rudd-O)
Modified: 2009-12-09 11:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Amador (Rudd-O) 2008-11-05 12:21:35 UTC
Version:           1.94 (using 4.1.2 (KDE 4.1.2), 4.1.2-5.fc9 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.26

I ran the importer on my 1.4 PGSQL database and it only imported 11 tracks (nothing about them I could distinguish that would set them apart from the other tracks in my collection).  I then set up a collection on my new amarok 1.94, and reran the importer again.  Again, only 11 tracks' statistics were imported.

What gives?

Note that the program works, it loads the appropriate qsql plugin, it connects successfully and the 11 tracks it imported are in fact in my stats table.  My stats table has about 13800 rows in it.  The tracks that were imported are not the first 11 tracks in the stats table.
Comment 1 Seb Ruiz 2008-11-05 21:45:54 UTC
Did you have dynamic collections turned off?
Comment 2 Manuel Amador (Rudd-O) 2008-11-06 00:53:15 UTC
What's "dynamic collections"?

All I can tell you is that I started with a blank configuration (I rm -f before trying).  And that the collection was built correctly but the stats were never imported correctly no matter what I did.
Comment 3 Seb Ruiz 2008-11-06 01:15:19 UTC
In that case I'll assume you're haven't disabled this. Can you email me a dump of your database? Use pg_dump.
Comment 4 Seb Ruiz 2008-11-11 10:01:30 UTC
SVN commit 882682 by seb:

We shouldn't discard statistics rows where the deviceid is -1, where no associated mount point is returned. This is the case for collections which have Amarok 1.4 'dynamic collections' turned off.
BUG: 174444
BUG: 174329


 M  +2 -2      FastForwardWorker.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=882682