Rockbox mail archiveSubject: Re: Database extended: statistical info
Re: Database extended: statistical info
From: Laurent Giroud <lg_dev_at_libertysurf.fr>
Date: Sun, 17 Oct 2004 14:17:08 +0200
On Sun, 17 Oct 2004 13:43:10 +0200, Laurent Giroud <NekoNoNiaow_at_gmail.com> wrote:
> > > I'd like to throw another topic into the database discussion. I'd really
> > > favor if we could design a database that allows to store statistical
> > > usage info about the song like
> > > - how often it was played
> > > - how often it was skipped
> > > (- maybe a song rating)
> > >
> > > That could enable us to generate playlists eg of the least often played
> > > songs on the fly. A real plus.
> > I remember there was some talk awhile back about a patch that would
> > generate a logfile of all songs played (and skipped, etc.). Did
> > anything ever come of that?
> Reading about non-mp3 file access, I wonder if there is some kind of
> mecanism on Rockbox that would make sure are done synchronously with
> mp3 related hard drive accesses. Would'nt that help reduce energy
> consumption ?
> I guess that when a mp3 is playing, most file accesses could be
> suspended until the next hard drive access by the mp3 player. Has this
> already been done ?
(replying to myself from another account, sorry for the confusion)
Of course, this mecanism should also flush files immediately or after a fixed delay in the case where no music is currently playing or when the player is shut down (but I guess that's already done in this latter case).
In the case of repeated config file changes, there would be only one access to the hard drive every X seconds, instead of one for each slight change. I'm not sure this would be a major gain since it's not so frequent, but I guess the more Rockbox becomes a PDA like platform the more it will make sense to reduce hard drive accesses to the strict minimum needed. Don't you think ?
Received on 2004-10-17