Steel;581877 Wrote:
> Hi.
>
> THX for the really useful plugins.
>
> I had a problem importing the statistics from amarok 2.3.2. I think
> they changed the database structure in th step 1.4->2.0.
>
> Changing the sql statement in line 181 in Import.pm to
>
> "SELECT s.accessdate,s.score AS percentage,s.rating,s.playcount FROM
> statistics s LEFT JOIN urls u ON s.url=u.id WHERE rpath=?"
>
> should made it.
>
> Didn't tried the export till yet. I think there it's the same problem,
> will check it in some days.
>
Thanks, let me know if the export works.
Steel;581877 Wrote:
>
> Perhaps you should add different modules for amarok 1.4 and amarok
> 2.3.2.
>
If it's as simple as you describe above I can probably just add a
setting where you can select if amarok 1.4 or 2.3.2 is used. Do you
know which amarok version that introduced the database change ?
Steel;581877 Wrote:
>
> At least a question: Is there a possibility for changing the stats of a
> track in the amarok db each time it changes in trackstat? Will try
> something similar in amarok, so the collection statistics are
> synchronized all the time.
>
There is a checkbox in the Amarok export module in the Custom Scan
settings page called "Dynamically update statistics" which should
enable automatic export.
--
erland
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins