dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Ratings

Re: Ratings

From: Hardeep Sidhu <>
Date: Sun, 19 Feb 2006 17:35:06 -0800

Brent Coutts wrote:
> Since I may have multiple entries per MP3, Iíve now hit the 20000
> barrier in playlists and I was wondering if there was any other way to
> achieve my ends Ė i.e. my higher rating songs get played more often.
> Iíve done enough maths at Uni to understand the Mersenne Twister, but
> I canít see that this can be modified to have one entry per MP3 but
> allow the rating to influence the frequency Ė sort of defeats the
> purpose of the whole concept of the Twister anyway.
Modifying the random algorithm won't help you because Rockbox decides
which tracks will be played and their order when you select the
playlist, not at the end of each track. It would require some fairly
significant changes to the code to support the functionality you want.

> Will I chew up too much memory if I run my own build of Rockbox and
> increase the maximum playlist size to 50000 ? Are there any other ways
> that people can think of?
Each playlist entry requires 4 bytes of buffer space so switching from
20000 to 50000 will reduce your buffer by ~ 120K. Unless you're using
one of the Archos devices, this amount of buffer space is negligible and
is definitely the best/easiest option for now.

Received on 2006-02-20

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy