When I upgraded from 1.4 to 2.2, I think i tried every possible combination of copy/import/rescan and never got ratings in properly. <br><br>So I wrote another program that scanned my 1.4 db and inserted the missing ratings into a 2.2 db. <br>
I was kinda curious to know how the new schema differed in any case.<br><br>I will attach the code that did it to this e-mail. I hope it helps some others too. <br><br><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 1:34 PM, Chris Joelly <span dir="ltr"><<a href="mailto:chris-m-lists@joelly.net">chris-m-lists@joelly.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello!<br>
<br>
i have upgraded to 2.2.0 and finally get used to the new version ;)<br>
<br>
but i have a question regarding importing the data from 1.4:<br>
<br>
i thought that "Importing collection" will import all data from my<br>
previous collection, but, as i read a thread from october on this list<br>
this is not the case. I catched on that thread that i have to rescan my<br>
collection from filesystem in any case.<br>
<br>
So, if i understood if correct, the best way to import the data is:<br>
<br>
1. scan the filesystem<br>
2. import the statistics<br>
<br>
hm. in 1.4 i used mysql to store data about my collection. and i want to<br>
use mysql again with 2.2.<br>
<br>
how to deal with the database issue in this context?<br>
<br>
the 1.4 scheme seems to be updated and useless for 2.2, so i can safely<br>
throw away the 1.4 db and create a new one for 2.2? I think no, the old<br>
db is needed for accessing parts of the old statistics?<br>
<br>
but i have to create a new database for the 2.2 db scheme upfront and<br>
configure the connection details before point 1, scanning the filesystem?<br>
<br>
is this the way the upgrade w.r.t the statistics should work smoothly?<br>
<br>
thx<br>
<br>
Chris<br>
<br>
_______________________________________________<br>
Amarok mailing list<br>
<a href="mailto:Amarok@kde.org">Amarok@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/amarok" target="_blank">https://mail.kde.org/mailman/listinfo/amarok</a><br>
</blockquote></div><br>