Amarok 1.4 collection and artwork importing

Pedro de Carvalho Gomes pedrogomes81 at gmail.com
Fri Oct 30 19:13:17 UTC 2009


OK, I think I finally got it. For each statistic row I get from A1, I
should check if there is already an entry with the same url at the url
table. If there isn't, create a new entry at url table only, add a new
entry to the statistics table and associate its id to the url table's
id. And I assume that the collection scanner will correctly associate
the found tracks to the url entries I've created.

In other words, pretty much what the previous code was  trying to do,
but not adding new rows to tracks table.

I'll try to suggest another fix asap.

Pedro

On Fri, Oct 30, 2009 at 9:40 AM, Jeff Mitchell <mitchell at kde.org> wrote:
> Pedro de Carvalho Gomes wrote:
>> that is not at the collection. Now, to import statistics for a song
>> the URL must both be valid and the song should be at collection. Also
>
> But the statistics table is stores statistics for URLs not currently in
> the collection. This is on purpose. So your change breaks this behavior
> for imported songs.
>
> --Jeff
>
>
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>
>



More information about the Amarok mailing list