Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7074 - Random folder custom directories

Attached to Project: Rockbox
Opened by Martin Scarratt (mmmm-) - Tuesday, 24 April 2007, 19:00 GMT+1
Last edited by Jonathan Gordon (jdgordon) - Sunday, 05 August 2007, 04:33 GMT+1
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

When using the Random folder advance plugin, place a file called "folder_advance_dir.txt"
containing the directories that you want to be scanned in the .rockbox folder.
Only the directories in this file and any contained directories will be scanned.

see http://forums.rockbox.org/index.php?topic=10108.0 for more info
   random3.patch (1.8 KiB)
 apps/plugins/random_folder_advance_config.c |   43 +++++++++++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Sunday, 05 August 2007, 04:33 GMT+1
Reason for closing:  Accepted
Additional comments about closing:  please update the wiki and manual :)
Comment by Martin Scarratt (mmmm-) - Tuesday, 24 April 2007, 20:19 GMT+1
Better looking error handling if custom directory not present
   random4.patch (2.3 KiB)
 apps/plugins/random_folder_advance_config.c |   57 +++++++++++++++++++++++++++-
 1 file changed, 56 insertions(+), 1 deletion(-)

Comment by Martin Scarratt (mmmm-) - Wednesday, 25 April 2007, 15:05 GMT+1
Now blank lines are ignored (means you can remove a line using the rockbox editor). If you want the root dir you must have a line reading "/" (without the quotes)
small fix with no. of folders displayed if a dir is not found.
   random5.patch (2.5 KiB)
 apps/plugins/random_folder_advance_config.c |   61 +++++++++++++++++++++++++++-
 1 file changed, 60 insertions(+), 1 deletion(-)

Comment by Martin Scarratt (mmmm-) - Friday, 27 April 2007, 23:59 GMT+1
By adding an entry eg:

-/CDs

Everything in the /CDs dir will be ignored.
If you just want /CDs to be ignored but want to include the dirs within /CDs
you need to have both entries:

-/CDs
CDs

You can have a maximum of 10 "removed" directories. this is so that each entry doesn't have to be compared with the whole file (faster).
   random6.patch (4.9 KiB)
 apps/plugins/random_folder_advance_config.c |  114 +++++++++++++++++++++++++++-
 1 file changed, 110 insertions(+), 4 deletions(-)

Comment by Martin Scarratt (mmmm-) - Saturday, 28 April 2007, 12:29 GMT+1
SVN update
   random6.patch (4.9 KiB)
 apps/plugins/random_folder_advance_config.c |  116 +++++++++++++++++++++++++++-
 1 file changed, 112 insertions(+), 4 deletions(-)

Loading...