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[2]: Database extended: statistical info
From: uwe.freese_at_gmx.de
Date: 2004-10-17


Hello Michael,

Michael Graham wrote on Sunday, October 17, 2004, 11:50:16 AM:

>> 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.

MG> I remember there was some talk awhile back about a patch that would
MG> generate a logfile of all songs played (and skipped, etc.). Did
MG> anything ever come of that?

You can download my old logging patch and a simple delphi app here:
http://www.uwe-freese.de/download/ajb_logging_patch.zip

I personally have no time/interest in improving it, I simply use my
patch and look from time to time which music I didn't hear in the last
months to delete them. Feel free to use/improve it. It would be nice
if it would be added to the cvs version some day. The #1 functionality
that should be added is to split up logging in two functions e.g.
"log_into_buffer" and "write_log_buffer", so that the first is called
instead of the write_log function I used (that writes to the hdd
immediately) and the second is called each time before the hdd is
turned off and that writes the log entries that were buffered to ram
down to the hdd.

Bye, Uwe.

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



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