Rockbox Development > Feature Ideas
Random Folder Advance Weighing
[Saint]:
So...every single one of your artist directories is its own, top level, directory?
If not, I'm not sure I understand why inserting 99 folders would be problematic, simply insert the root directory which I assume exists.
[Saint]
JdGordon:
4th reply restart....
Yeah, thinking about it this could definitely be done - unlikely commited by the 23rd but you can build your own :) .
I think what needs to happen is each directory will check for a random_folder_advance.txt file which might have some options... weight: 100, skip: false, whatever.
if weight < 100 do the "roll". if weight > 100 add weight / 100 extra lines (i.e increase the chance). It should also take the weight from the parent folder.
How does that sound?
JdGordon:
give http://gerrit.rockbox.org/r/#/c/841/ a shot!
soap:
Just got back from holiday, will try this weekend!
Navigation
[0] Message Index
[*] Previous page
Go to full version