Nostromo;477775 Wrote: 
> No,in NowPlaying the artwork is correct. The mix-up happens when
> browsing by album or by artist. 
> 
> ...
> 
> And things return to normal after flushing the cache. But only for a
> while... I'll get back to you if the problem returns.

Ok, that makes sense.
This probably happens whenever you do a "Clear and Rescan" of your
database and restart the server before running iPeng. For example if you
update the server from a previous version which requires a rescan.

Squeezebox Server (or SqueezeCenter) isn't really made for caching,
actually Logitech oppose caching of database information on a
controlling device (for themselves), the concept is to always have
accurate data by accessing the data on the server.
iPeng can't do that or will lose some of it's usability (e.g. the A-Z
indexes). I predict Logitech will have fun with the SB Touch on this
aspect...

So what iPeng does is it caches album, artist and genre data and
artwork and it clears that cache whenever one of the following things
happen:
1. the number of tracks or albums or artists change
2. the timestamp of the last rescan changes.

Now, 2. doesn't survive a server restart and 1. doesn't change if you
do a "clear and rescan" on the same library so the change to the
database will go unnoticed by iPeng...
That's what "Flush Cache" is for.

I filed an enhancement request over a year ago to provide persistent
timestamps for individual tables, which would fix this. However, that
one got flagged for "New Schema" which I would predict to not happen...
So this is probably what we have to live with in iPeng.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=51929

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to