This forum has been archived. All content is frozen. Please use KDE Discuss instead.

import ratings

Tags: None
(comma "," separated)
plasmid
Registered Member
Posts
12
Karma
0

import ratings

Sat Jan 17, 2009 4:59 pm
I know that amarok 2 does not import ratings from amarok 1.4 database. I decided to look at the code and see if I was something I could figure out. After reading the code in databaseimporter/amarok14/FastForwardWorker.cpp, it looks like rating SHOULD be copied. I was expecting code for this step not to be written, but this line:

sql += "SELECT lastmountpoint, S.url, createdate, accessdate, percentage, rating, playcounter, lyrics ";

looks like it should get the ratings on the SELECT, and this line:

ec->setRating( rating );

should add it to the database.

So now I am confused. Shouldn't the database importer get the rating?

Any insight would be appreciated.

Thanks

jason


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]