Amarok does not build collection

I’ve been trying to get amarok to build my collection listing, but after processing for a couple of minutes, it finishes with an empty list. My music is in FLAC format, which it can happily play, but fails to create the collection from them.

Am I missing something?

PS: I’m using the KDE4 and Amarok 1.94 (according to the about box)

Install amarok from Packman, use the kde3 version

Index of /pub/linux/misc/packman/suse/11.0

accept the vendor change if it asks

Actually I forgot to say, I’m using the suse 11.1 beta 5.

Nonetheless going back to 1.4 isn’t really an option. For one thing I don’t like to use older software if newer one is available (and should support what I need), and the other is that mixing KDE 4 with Gnome is enough, I don’t want to insert KDE 3 stuff too…

Ok, so try a different player.

I just had to edit this as I realized amarok kde4 is only in Packman 11.0 at the moment I think

Have you got sqlite installed Amarok uses it for the database

Geoff

Good Point that. It might not have been installed by default if you selected Gnome, though it should have been dragged in by dependency.

Yep, it is installed

So in your user hidden area

look for something like the:
.kde/share/apps/amarok/collection_scan.files

it may be
.kde4/share/apps/amarok/collection_scan.files

Is there any text in scan.files

and you might look to see if there is a collection.db
and what size is it

Ok, got it working…

The collection_scan.files was a huge file. No .db file existed, but on the other hand a mysqle directory was present there, so I searched a bit and found on this page: Amarok 2 Beta 2 released - Nujalik! | Amarok “The most significant change in this release is the switch from SQLite to MySQL-embedded as the database backend”. Basically amarok does not allow you to choose between sqlite and mysql, but requires mysql. After installing it, the collection appeared correctly.

On that specific webpage I linked it, they also state that whilst currently they do not have an embedded mysql, they are planning on doing it… so there’s the reason of not having the correct dependency… still… they could at least place the dependency for the amarok beta until they finish embedding the mysql.

Interesting. On first run of amarok you were always given the choice of database. So this has been changed then. Umm…

Thanks for posting the solution though!