Take the ratings from the songs in playlist, and add song x number of times to the playlist. (songs rated 5 will appear a total of 5 times in the playlist) This should help weigh the songs with shuffle on.

    for each track in playlist
        if track.rating<>255 then
        for x = 1 to track.rating-1
            Tracks2Add=Tracks2Add & track.filename &vbcrlf
        next
        end if
    next
 
    'msgbox tracks2add
 
    for each FileName in split(Tracks2Add,vbcrlf)
        if len(filename) > 0 then
        LoadItem(filename).enqueue
        end if
    next
 
examples/playlist/repeat_playlist_x_rating_times.txt · Last modified: 2006/11/06 15:44
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Music Plugins