Bug 129 - Covert art does not cache the 'not found' state
: Covert art does not cache the 'not found' state
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: unspecified
: All Windows (legacy)
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-09 11:35 UTC by KDF
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KDF 2004-01-09 11:35:32 UTC
In UpdateCoverArt, if no art is found it should save '0' to the info cache. 
Instead it appears this value is dropped and left as undef.  Thus, if no art is
found, it will continue to search again on every access.  This slows down the UI
greatly.

-kdf
Comment 1 KDF 2004-01-09 15:55:42 UTC
jeez...that was nasty to dig out, but its fixed:
Info.pm Line 525 (approx)

if ($cacheEntryArray->[$i]) {
needs to read as:
if (defined $cacheEntryArray->[$i]) {

this way, a 0 will still pass.

I'll include this with the browse-by-cover patch if not committed on its own
before then.
Comment 2 Chris Owens 2006-06-16 14:40:09 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.