Page 1 of 1

Ignore files/directories by name

PostPosted: Fri Jul 13, 2007 2:21 am
by samoshit
When I upload mp3 albums to my ftp server, it creates a directory similar this:

( 68M 16F - COMPLETE - Rock - VBR )

I'm sure some of you are familiar with it. Its created by sfv checking scripts. Anyways, I'd like to have Subsonic disregard it by matching *(*COMPLETE*)* or by regular expression.

Thanks.

PostPosted: Wed Nov 14, 2007 10:43 pm
by samoshit
bump

PostPosted: Tue Apr 14, 2009 3:25 am
by kf_man
I would really like the capability as well. My specific usage is to block ".svn" directories as a portion of my music is checked into Subversion.

Ignore files/directories by name

PostPosted: Mon Apr 20, 2009 6:18 pm
by mleinart
+1 for this.

Here's the scenario for me - I run Subsonic on my home linux fileserver which serves the Macs on my network. Most of my music is organized nicely into directories like Artist-Album/. The problem is that Netatalk (Appletalk for Linux) creates new subdirectories in each of these directories called ".AppleDouble" to store metadata not supported by non-Apple filesystems. Within this directory will be tiny metadata files with the same names as in the music directory. It looks like this:

SomeArist-SomeAlbum/
SomeArist-SomeAlbum/.AppleDouble/
SomeArist-SomeAlbum/.AppleDouble/SomeArtist-01-Track1.mp3
SomeArist-SomeAlbum/.AppleDouble/SomeArtist-02-Track2.mp3
SomeArist-SomeAlbum/.AppleDouble/SomeArtist-03-Track3.mp3
SomeArist-SomeAlbum/.AppleDouble/SomeArtist-04-Track4.mp3
SomeArist-SomeAlbum/SomeArtist-01-Track1.mp3
SomeArist-SomeAlbum/SomeArtist-02-Track2.mp3
SomeArist-SomeAlbum/SomeArtist-03-Track3.mp3
SomeArist-SomeAlbum/SomeArtist-04-Track4.mp3

What happens then is that when I go into one of these directories and "Play All" or "Add All", Subsonic walks down the tree into the .AppleDouble directory and adds the metadata files as if they were music files. The web-player hangs on these and I'll need to manually skip to the first of the real files to play the album.

A similar problem happens when the directory contains album art - Subsonic will try and read the metadata jpg files instead of the real ones and I'll get broken images.


A simple "Exclude these files" option (globs or regex would satisify more people, but explicit names alone would fix my problem) would make me super happy.

thnx

PostPosted: Mon Apr 20, 2009 6:50 pm
by sindre_mehus
Yeah, I agree - that would be useful and fairly simple to implement.

I can't promise anything, but I hope to add it in 3.7 or 3.8.

Thanks,
Sindre

PostPosted: Fri Aug 14, 2009 2:51 pm
by mleinart
One more note:

I've noticed the problem with the .AppleDouble files is a lot more of an inconvenience in random mode. In random, every other file or so is an invalid .AppleDouble file so I'm constantly having to come back to the page to skip ahead in the playlist since these files just hang the player. I'm sure this is a problem for other scenarios needing this functionality as well.

PostPosted: Mon Mar 29, 2010 8:00 pm
by seitz
Has this been added? It is definitely killing me now too :(

PostPosted: Mon Apr 05, 2010 6:58 pm
by gallyjh
I'd like to bump this as well. It's pretty annoying to have to have a subsonic_exclude.txt in every directory where I have over 1000's of directories. Perhaps it would be nice if there was a global ignore? Maybe in the root subsonic_exclude.txt you make look like:

.svn g

and the 'g' would signify it to be global for all children directories?

Re: Ignore files/directories by name

PostPosted: Fri Nov 12, 2010 4:18 pm
by bigworm
I need of this same thing..any progress?

samoshit wrote:When I upload mp3 albums to my ftp server, it creates a directory similar this:

( 68M 16F - COMPLETE - Rock - VBR )

I'm sure some of you are familiar with it. Its created by sfv checking scripts. Anyways, I'd like to have Subsonic disregard it by matching *(*COMPLETE*)* or by regular expression.

Thanks.

PostPosted: Fri Nov 12, 2010 9:09 pm
by ootuoyetahi
I would like this to. Perhaps have it ignore any 0 byte file or folder.

PostPosted: Sat Nov 13, 2010 1:22 pm
by Gomez
Same here, my collection would look better with ignore files / dirs.

PostPosted: Tue Nov 16, 2010 10:42 am
by kitzingmarko
+1

PostPosted: Wed Nov 24, 2010 9:37 pm
by bigworm
Noticed 4.2 came out...any chance for this in 4.3?

PostPosted: Tue Jan 04, 2011 4:00 pm
by bigworm
Bump for those who still want this!

sindre_mehus wrote:Yeah, I agree - that would be useful and fairly simple to implement.

I can't promise anything, but I hope to add it in 3.7 or 3.8.

Thanks,
Sindre

PostPosted: Thu Jun 23, 2011 10:26 am
by mustangman5l
Yeah this would be nice. Upgraded to WHS 2011 and installed Drive Bender to replace DE. DB put it's duplicates in the same folder structure as the original file (i.e. it creates a duplicate folder). This is wreaking havoc on my collection...

BUMP!