|
Rockbox mail archiveSubject: Re: RatingsRe: Ratings
From: Hardeep Sidhu <hardeeps_at_pobox.com>
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. -Hardeep Received on 2006-02-20 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |