Page 1 of 2

Hidden/excluded Directories

PostPosted: Fri Jul 31, 2009 3:36 pm
by Arcane
Would love to be able to have a way to not allow hidden directories from appearing anywhere in subsonic. I run a Linux server it's a little annoying seeing .Trash/ and things all over the place.

Or maybe a way of setting exclude options in subsonic.. so i can exclude certain directories from appearing. If I could use wildcards, it would resolve my issue i stated above. For instance, I have a scripts folder inside the music folder that contains little scripts i've written to manage my music. I'd like to exclude that from showing in the artists list

PostPosted: Fri Jul 31, 2009 7:02 pm
by deriksen
Leave a text file called subsonic_exclude.txt in your music folder. In the file, list the directories you want to exclude.

/D

PostPosted: Fri Jul 31, 2009 8:04 pm
by donpearson
listing like:

trash1
trash2
trash3
trash4

PostPosted: Tue Aug 04, 2009 1:20 am
by Arcane
Oh sweet.. i didn't know i could do that. So if I create the text file in the root directory, will it will apply to all sub directories?

PostPosted: Tue Aug 04, 2009 1:22 am
by Arcane
nevermind.. just answered my own question. It does NOT work in subdirectories. So I created one file.. and then linked it from anywhere I need to exclude files. Thanks for the tip guys!

PostPosted: Tue Aug 04, 2009 7:22 am
by deriksen
np

PostPosted: Tue Aug 04, 2009 4:16 pm
by donpearson
:wink:

Re: Hidden/excluded Directories

PostPosted: Mon Aug 06, 2012 8:48 am
by ThyMaster
Hm,

tried it out with 4.7b3 but it seems this feature is broken :(
Whether "Scan media folders now" nor "Clean-up database" would help....

Anyone can confirm this?

-ThyMaster

Re: Hidden/excluded Directories

PostPosted: Sat Sep 15, 2012 1:58 pm
by steez
I can confirm this is no longer working since 4.7b3. Anyone know of a way to fix it?

Re: Hidden/excluded Directories

PostPosted: Thu Sep 20, 2012 2:34 am
by Lok9star
+1. I've noticed this feature broken since 4.7beta1.

I have a music archive folder, then an active "new stuff"folder that houses subfolders like music, movie, software, etc which also houses an subsonic_exclude.txt so that I can limit subsonic to a NEwMusic folder. I don't point subsonic directly to the NEwMusic folder as I want to keep the subfolders/artist from showing in my general collection, instead they are accessible by a shortcut in Subsonic to NewMusic. Also I 've been using SS for a couple of years. I found that I had to disable this new stuff folder from my folder list, then manually scan media folders, then set the scan schedule to never, then re-enable the "New Stuff" folders and then the exclude seems to work, but my index/db for search is of course missing all of the music that is allowed in the "new stuff" folder since it isn't indexed. Looks like the scan engine isn't honoring the subsonic_exclude.txt

Re: Hidden/excluded Directories

PostPosted: Thu Sep 27, 2012 11:12 pm
by tsquillario
Yea i'm seeing this also. This bug is in the 4.7 release still. Unless it changed???

Re: Hidden/excluded Directories

PostPosted: Mon Oct 08, 2012 2:32 pm
by StanislausBabalistic
Definitely not working for me, either. I'm running 4.7; it had been working fine before I updated.

Re: Hidden/excluded Directories

PostPosted: Fri Oct 12, 2012 8:31 am
by sindre_mehus
Sorry, this feature was removed in 4.7, reasons being:

1. Improve performance (less disk access)
2. Simplify the implementation.
3. It was an undocumented feature that few users were using.

Sorry for the inconvenience!
Sindre

Re: Hidden/excluded Directories

PostPosted: Sat Nov 10, 2012 4:47 pm
by sabotrax
hi,
i could really use this feature.
i made a script which builds an index of all albums by year.
it's just a collection of subdirectories and looks like this:

by year/
2001/
artist - album/
otherartist - album/
2002/
artist - album
...

i then added the directory root as a folder in subsonic, so i could use it for browsing my collection by year.
i'd like to exclude this dir from the media scan to avoid the double entries as it is simply a different view of the data.

greetings,
marcus

Re: Hidden/excluded Directories

PostPosted: Wed Nov 21, 2012 5:49 pm
by joho
sindre_mehus wrote:Sorry, this feature was removed in 4.7


Noooooo...... I am one of the users you are talking about. :(
This was a nice function to have.