navigating huge Directories by first letter

If you have a suggestion for a feature, post it here
Post Reply
ragerino
Posts: 2
Joined: Mon Nov 05, 2012 10:00 pm

navigating huge Directories by first letter

Post 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.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: navigating huge Directories by first letter

Post by SubJunk »

Yeah that would be cool. We used to have this with iTunes libraries but it got broken. Will look into it :)
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: navigating huge Directories by first letter

Post 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)...
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: navigating huge Directories by first letter

Post by SubJunk »

Great, let's look at adding this to our core ASAP :)
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: navigating huge Directories by first letter

Post 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 :)
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: navigating huge Directories by first letter

Post by SubJunk »

Yeah I'm happy to add GUI options :)
Post Reply