Page 1 of 1
Ignore directories?

Posted:
Tue Jun 06, 2006 9:12 am
by Coupey
Hi,
I think it would be really useful if it was possible to ignore certain folders in my media library.
This could be done simply by putting, say, a 'subsonic_ignore.txt' file in the relevant directories.
It could even be slightly more sophisticated, for instance if you could set variables within the text file to (for instance) let Subsonic know to include the contents of the folder but not allow the contents to be part of a randomly-generated playlist. That way I won't have to weed out things like chapters from audiobooks when I generate a random playlist.
Cheers,
Coupey.

Posted:
Sun Jul 02, 2006 7:12 pm
by Ikyo
I have to agree with this. Mine is currently showing my lost+found directory under unix.

Posted:
Mon Jul 03, 2006 9:13 am
by sindre_mehus
Hi,
Thanks for the suggestion. I'll implement this in Subsonic 2.8.
Sindre

Posted:
Fri Aug 04, 2006 8:06 pm
by sindre_mehus
It's out now in 2.8.beta1. Note that the file should be named subsonic_exclude.txt".
Sindre

Posted:
Sat Aug 19, 2006 6:16 pm
by gdawg27
Can you post an example/directions of how to exclude a directory? I can't seem to get it to work. Do you have to have a "subsonic_exclude.txt" file with the name of the directory that I want to exclude within in or is it just a blank .txt file named "subsonic_exclude.txt"?

Posted:
Sat Aug 19, 2006 6:57 pm
by sindre_mehus
Sure. Let's say you have a directory c:\music\foo\bar which you like to exclude. Then, in the 'foo' directory, create a subsonic_exclude.txt file with the content "bar".
The exclude file may contain multiple lines of text, one for each (immediate) subdirectory or file you want to hide in a given directory.
Hope this helps,
Sindre

Posted:
Sat Aug 19, 2006 10:07 pm
by gdawg27
Yes. That helps a lot. I tried every other combination except that one. BTW, Great piece of software.

Posted:
Mon Oct 26, 2009 10:24 pm
by deriksen
Just wondering, was this broken in 3.8? Neither a rescan of the search index, nor a restart of the subsonic service seem to recognize newly added folders/lines to subsonic_exclude.txt.

Posted:
Tue Nov 10, 2009 1:54 pm
by jeffpetersen
Not working here either. Unfortunately I added the media folder before placing the excludes file inside, and now I can't get the "Automatically Add to iTunes" folder removed from my Subsonic list.

Posted:
Fri Nov 27, 2009 4:16 pm
by SpritHansi
Is there any solution to this yet?
Re: Ignore directories?

Posted:
Fri Apr 28, 2023 6:45 pm
by nohart
What would be really nice is if there was a setting we could make. As an example I have all my covers in my albums in a folder named Artwork. If I could put in an exclusion named Artwork. Subsonic wouldn't index the folder. Right now when I open the app on my android and select an Artist -> Album it lists the folder Artwork. I would like to remove the listing.
I am on win11 and using Subsonic v6.1.6 and the subsonic_exclude.txt does not work.