Page 1 of 1

navigating huge Directories by first letter

Posted: Mon Nov 05, 2012 10:14 pm
by ragerino
It would be great to have some kind of virtual folder structure for folders with lots of subfolders and files.

A good choice would be the starting letter + the number of folders and files starting with this letter. Also splitted archives should be shown as one sub-folder.

Re: navigating huge Directories by first letter

Posted: Tue Nov 06, 2012 8:39 am
by SubJunk
Yeah that would be cool. We used to have this with iTunes libraries but it got broken. Will look into it :)

Re: navigating huge Directories by first letter

Posted: Sat Nov 10, 2012 8:03 pm
by SharkHunter
Hi, I can't keep my dirty fingers out of this (mostly since Channels have an A-Z folder feature). I made a stab at it, found here (as a zip) http://code.google.com/p/sharkhunter-shb/downloads/list
Just download unzip and replace the ums.jar found in your install dir (you might want to backup the old one first).

To activate the A-Z folder magic add "atz_limit = X" to your UMS.conf where X is the number of entries that should be exceeded before A-Z folders are used. By default this is 100000 or so so it will not be used normally. Try with a low value (say 20) to get the feel of it and then set it to the value you want (you might need to restart UMS to get the configuration to kick in).

NOTE!! This config must be done manually to the UMS.conf no GUI option exists (yet)...

Re: navigating huge Directories by first letter

Posted: Wed Nov 14, 2012 8:44 am
by SubJunk
Great, let's look at adding this to our core ASAP :)

Re: navigating huge Directories by first letter

Posted: Wed Nov 14, 2012 8:41 pm
by SharkHunter
Yeah. I just wanted someone to test it some (using my zip there). I'll make a new branch on Github today so there can be some more testing done... It needs a GUI config maybe?

Edit. Mad an ATZ branch ad uploaded code. Still no GUI option :)

Re: navigating huge Directories by first letter

Posted: Thu Nov 15, 2012 9:11 am
by SubJunk
Yeah I'm happy to add GUI options :)