Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Database extended: statistical info
From: Laurent Giroud (lg_dev_at_libertysurf.fr)
Date: 2004-10-17


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 ?

Regards,
Laurent
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa