[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Re: [Amarok] 57e87dc Fix Dynamic Collections.
From:       Maximilian Kossick <maximilian.kossick () googlemail ! com>
Date:       2010-08-09 20:32:08
Message-ID: AANLkTikj-CYCqnDsVQEdQzECdc+RyYkP-EJWUjsqwbic () mail ! gmail ! com
[Download RAW message or body]

On Mon, Aug 9, 2010 at 9:56 PM, Ralf Engels <ralf-engels@gmx.de> wrote:
>
>> Date: Sun,  8 Aug 2010 22:56:31 +0000 (UTC)
>> From: Jeff Mitchell <mitchell@kde.org>
>> Subject: [Amarok] 57e87dc Fix Dynamic Collections.
>> To: <amarok-devel@kde.org>
>> Message-ID: <20100808225632.10124B5D1F7@projects.kde.org>
>>
>> commit 57e87dc0139577120a19c0f1c39f5b7fb02b002e
>> Author: Jeff Mitchell <mitchell@kde.org>
>> Date:   Sun Aug 8 18:50:39 2010 -0400
>>
>>     Fix Dynamic Collections.
>>
>>     There were three problems I could find:
>>
> ...
>
> I realized that there are some additional problems:
>
> 1. SqlAlbum::setCompilation
> when setting an album as a compilation it does not invalidate it.

nor should it, as its cache is still useable.

> when setting an album as no compilation it does not invalidate all
> albums where tracks are getting moved to.

yep, that's a bug.

> 2. SqlTrack::setAlbum( const QString &newAlbum )
> Does not check if the old album is empty and could be removed. This also
> leaks image cache.

Album removal should not occur at this stage as the old album object
is still available from the cache.

>
> Also I am pretty sure that I don't want to do a full rescan.
> Is there some way around this?

No.

> BR,
> Ralf
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel@kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic