On Tue, 2007-09-25 at 17:19 +0200, Dirk Meyer wrote:
> > +                        attrs[name] = str(attrs[name])
> 
> What is attrs[name]? The string "album" or the real album string? If
> it is the later we need to be aware of unicode decode errors. Or can't
> this happen?

Neither.  In this case it is the filename, which is str type, and
ATTR_INVERTED_INDEX.

When you update an attribute for an inverted index, _all_ attributes for
that inverted index in the object must be rescored and reprocessed.  So
when you update the album attribute, kaa.db fetches all other attributes
for that inverted index and reprocesses them.

So the problem here was reprocessing the name attribute, not the album
attribute.  But the name had to be reprocessed when updating album.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to