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: Smart Playlist -any progress? any takers?
From: Hara Hara (sat_at_rcn.com)
Date: 2004-09-02


Jonathan wrote:
>
>Hmm, sounds familiar...
>
>http://sourceforge.net/tracker/index.php?func=detail&aid=1001358&group_id=44306&atid=439120
>

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

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
2
10
3
5
...
1

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.

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



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