Remove All Folders Category

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Remove All Folders Category

Postby kapz » Fri Aug 24, 2007 6:39 pm

Hello again sindre_mehus,

I use Subsonic everyday and its almost perfect. I have one small request. I just added yet another music collection with around 1100 folders (each an album). Subsonic default opens with the “All Folders” category which is now an enormous list. Can you make an option to default the opening category to the first music folder? This would keep the side bar list size down and could increase startup speed. If I can do this in the code by changing a file, that would be great for now (until the next version).

My Search index file is about 19 MB and I had to increase the Java Heap because I was getting the following error on the side bar.

Exception
java.lang.OutOfMemoryError

Message
Java heap space

Java version
Sun Microsystems Inc. 1.5.0_10

Operating system
Windows XP 5.1

Server
Apache Tomcat/5.5.20

Memory
Used 63 of 63 MB

Stack trace
java.lang.OutOfMemoryError:
Java heap space


Thank you for your hard work and dedication to this project.

-kapz

Current Stats: (the artist and albums may be wrong)

7,132 artists
3,950 albums
71,573 songs
298.03 GB (~ 4,629 hours)
User avatar
kapz
 
Posts: 124
Joined: Wed Jun 21, 2006 7:23 pm

Postby sindre_mehus » Sat Aug 25, 2007 10:24 am

Hi kapz,

The next version has a new feature which I think will solve this problem for you: the music folder you select in the left frame is remembered by Subsonic, also across sessions and across browsers.

In the mean time, if you like to hack it, the file to modify is: TOMCAT_HOME\webapps\subsonic\WEB-INF\jsp\left.jsp

Hope this helps,
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby kapz » Sat Aug 25, 2007 4:55 pm

That would be a nice feature. The problem is that "All Folders" is such a huge list now I'd rather the user never select it. I have no experience with jsp pages. I mainly code in VB.NET/C#, but I can look into hacking when I get time.

A checkbox above the Music Folders settings to remove "All folders" selection (unchecked by default) would be ideal. This way Subsonic will behave as users have expected with “All Folders” at the top of the list. If checked, the list defaults to filling folders for the first music path initially.

You could go another step farther and add small dropdown list (filled with from 1 to total music paths) next to each music path in settings\Music Folders. This would be the order the folders are listed in the left.jsp dropdown. I wanted to bring up this because if I have 15 folders added in such a way where they are grouped sort of by genre. And I want to insert a new path; I must move each path below it down (saving each one) to keep the list ordered.

Thanks for you input.

-kapz
User avatar
kapz
 
Posts: 124
Joined: Wed Jun 21, 2006 7:23 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 33 guests