Rockbox Development > Feature Ideas
Random Shuffle Based on Track Rating
Timlagor:
I'd like a random shuffle function that plays the tracks I like more (rate more highly) more often. A simple linear relationship (so that a rating 3 track is 3 times as likely to come up as a rating 1 track) would work fine: effectively treating each track as existing independently |rating| times in the memory.
[Saint]:
The only way to do this presently, is by artificially increasing the odds yourself.
For example, if there is a particular track you like, then if you insert that track 10 times into a playlist of 100 tracks total, your odds of hearing that track in random playback increase from 1/100 to 1/10.
I hope this helps.
[Saint]
trgz:
--- Quote from: [Saint] on January 23, 2013, 08:37:00 PM ---The only way to do this presently, is by artificially increasing the odds yourself.
For example, if there is a particular track you like, then if you insert that track 10 times into a playlist of 100 tracks total, your odds of hearing that track in random playback increase from 1/100 to 1/10.
I hope this helps.
[Saint]
--- End quote ---
I too am looking for a rating solution (though I want to filter out the poorer songs for certain situations rather than weight them) but I just looked at the suggestion out of curiosity and based on that idea and did a rough calculation that for a little over 3,500 of my rated songs I'd end up loading up just under 17,000 to my iPod. Admittedly I use iTunes's 1-5 star rating (though I appreciate it's stored as 0-100) so it would be half that.
I wonder if the above suggestion could however be combined with a system of hardlinks/softlinks/symlinks/shortcuts rather than extra files...
[Saint]:
--- Quote from: trgz on September 02, 2013, 11:04:00 AM ---I just looked at the suggestion out of curiosity and based on that idea and did a rough calculation that for a little over 3,500 of my rated songs I'd end up loading up just under 17,000 to my iPod.
--- End quote ---
--- Quote from: trgz on September 02, 2013, 11:04:00 AM ---I wonder if the above suggestion could however be combined with a system of hardlinks/softlinks/symlinks/shortcuts rather than extra files...
--- End quote ---
The keyword in my prior post, I guess, is "playlist".
--- Quote from: [Saint] on January 23, 2013, 08:37:00 PM ---For example, if there is a particular track you like, then if you insert that track 10 times into a playlist of 100 tracks total, your odds of hearing that track in random playback increase from 1/100 to 1/10.
--- End quote ---
Rockbox's playback system, even if it isn't immediately obvious in every case - for example, when using the File Browser or Database - is playlist based. There's no need to insert the file itself into device storage N times when it can be inserted into the current playlist at any given time N times.
I do this myself frequently in situations where popular albums/tracks are more desirable than others in a large shuffled playlist - parties, <insert_social_gathering_here>, etc. - and although it most certainly isn't the same as an auto-weighted pseudo-random playlist, it does the trick.
My apologies for not making this clear in the first instance.
[Saint]
trgz:
--- Quote from: [Saint] on September 03, 2013, 09:06:55 PM ---The keyword in my prior post, I guess, is "playlist".
--- End quote ---
Ah yes, of course, playlist entries! I now see that it actually makes for a cunning solution to the OP's post. Now if only you could nest a playlist inside a playlist in RockBox then all you'd need is 1 master playlist with n copies of your each of your n star rated playlists (ie 10 of 10star, 9 of 9star...).
Navigation
[0] Message Index
[#] Next page
Go to full version