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

Rockbox mail archive

Subject: Re: Smart Playlist -any progress? any takers?

Re: Smart Playlist -any progress? any takers?

From: Hara Hara <>
Date: Thu, 2 Sep 2004 14:12:19 -0700

Jonathan wrote:
>Hmm, sounds familiar...

Yeah I think I mentioned in my first email that the idea was
from the requested feature list under Playlist section.

I agree that the full implementation is probably too costly
for archos. But as suggested by you and others it might be
possible to do it if PC does the heavy work. I think it can be
done if we do the following steps. It is the first part that
is archos specific and if anybody else can do it , it would be

1. Write to a file for each playlist, the song name and how
long it was played.
(Ofcourse it should be an option that can be turned on or off )

Based on this information a program in the PC

1. will read the playlist and the generated file.
2. Arrange the playlist as Jeff N suggested with most
frequently heard song repeated many times in the playlist.
3. Add more songs of the same genre/whatever.
4. Regenerate the playlist and you are done.

With more advanced programming you could program the shuffle
algorithm (already existing in the rockbox) to weight the
songs based on the index file on the rockbox. This could be
done as follows

1. Based on file with the play time information, another file
can be written with the song ids of the top songs on top.
So if the playlist had

1. Song 1
2. Song 2
10. Song 10

And the playtime info file had
2 100 (% played)
1 0
5 50
3 80
10 100

The rated file will have

The random shuffle will give more priority to the top numbers
rather than the lower numbers. There will be no playlist
addition or modification which will still be done on the PC.

Ofcourse all of the above is from a newbie to rockbox, so
should be viewed so.

Thank you all for commenting on the feature.

Received on 2004-09-02

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