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]: logging patch - find never used dirs
From: Eric Linenberg (elinenbe_at_umich.edu)
Date: 2003-03-05


The empeg car player has a feature like this. There is a database
(text file) and it gives some great play modes

it keeps track of:
songs skipped
songs not skipped
number of times played
date song was put onto player

and it has playmodes like:
play most skipped songs
play least skipped songs
play least played songs
play most played songs
play newest songs
play oldest songs

you end up using some of these playmodes way more then you would have
ever thought!

-eric

BK> I've wanted a feature like this for a while, but one thing I would like
BK> to see added is to somehow log what songs were skipped due to pushing
BK> the next track button. I would then use this information to potentially
BK> exclude these files from my playlists in the future.

BK> -Brian

BK> Uwe Freese wrote:
>> Hello,
>>
>> It seemed to me that rating functions, bookmarking, logging can be
>> divided into two groups: The one with functions that the user actively
>> selects (e.g. "Bookmark this file") and the other which collects
>> important information automatically which can then used for analysis
>> afterwards.
>>
>> I decided to make a very simple implementation of the latter one.
>>
>> - every time, mpeg.c fills the mpeg buffer with data from a track (AKA
>> "plays a file"), one line is added into /.rockbox/.log_file in the
>> format
>>
>> YY-MM-DD hh.mm.ss PLAY Filename
>>
>> e.g.
>>
>> 03-03-04 04.08.01 PLAY /Alben/Skunk Anansie - Stoosh
>> (1996)/Skunk Anansie - Pickin On Me.mp3
>>
>> - this data can be analyzed with external programs/scripts easily
>>
>> - a sample windows program shows all directories in a list, sorted, and
>> shows you the directories you never played. You can then delete these
>> directories (they obviously only use disk space). You should have used
>> your AJB some weeks to have useful results...
>> http://www.uwe-freese.de/download/RockboxMP3Killer.zip
>>
>> - The patch is on the patch tracker. If I change something, it can be
>> found there. I may also update the win program (same URL then).
>> http://www.uwe-freese.de/download/RockboxMP3Killer_diff.tgz
>>
>> - A compiled version to play around with can be downloaded here:
>> http://www.uwe-freese.de/download/RockboxMP3Killer_rec.zip
>> http://www.uwe-freese.de/download/RockboxMP3Killer_player.zip
>> http://www.uwe-freese.de/download/RockboxMP3Killer_fm.zip
>>
>> - If the function is considered to be useful and to be added to CVS,
>> I'll add the necessary code to make it configurable (loggin on/off) in
>> the menu.
>>
>> Bye, Uwe.
>>
>>



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