Philip Meyer Wrote: > With regards to the actual statistics presented (nothing skin related), > the data does seem to get a bit iffy at times. I assume that the stats > get wiped whenever a full rescan is performed, which is a bit annoying > (but understandable and probably unavoidable) as I do that quite > frequently when I'm playing with these beta releases. It does mean > that I only ever have a few entries in the stats list though, so I > haven't been using it. At times I seem to have entries in there that I > don't think I've played since the previous wipe scan though.
I've run into the very same issue. Because I love my playtime statistics (and, one of those days, would like to build a smart playlist generator based on playcount and lastplayed information), I built a small plugin that periodically (in my case, every 10 minutes as long as a client is connected) copies this information into a seperate table in the slimserver database. If I need to rebuild the database, I can always recover my playCount information (keyed off the musicbrainz ID, and, if that is not available, the URL of the track). Rebuilding the database is either voluntarily (because I made sweeping changes to my tags or directory structure of my collection) or involuntarily (because the database schema changed, which happens a lot if you tend to follow the SVN code) I'll upload that plugin to my web site later today. Philip Meyer Wrote: > As a stats enhancement, it would be nice to have a stats type selection > to select either "Top Artists", "Top Albums", "Top Songs" and possibly > others (maybe top radio stations). This is perhaps treading close to > the enhancement requests that are already in bugzilla, for example 380 > - Automatic Playlists. > > As a subsequent enhancement, it would be nice to have an inverse stats > selection "Least accessed", which could be used it to find albums that > haven't been played in a while (or maybe a selection mode which is the > opposite of "Old Music"). > > Then, way way down the enhancement line in the future, Random Mix could > be weighted (via a pref or by providing other random mix selection > options) to bias towards popular music or non-popular music. > > Phil Such features would all depend on keeping the playCount and lastPlayed information. Regards, Hakan -- hakan The key to immortality is first living a life worth remembering... _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/beta
