Post Reply 
Ignore folder...
30-04-2015, 12:44
Post: #1
Ignore folder...
Simon, is it possible to add a "Ignore Folder" function.

The way it works in Plex and Kodi / XBMC is that if a folder contains a file called .ignore (or similar) that folder's contents (including subfolders) are not scanned.

Would something similar be possible in MinimServer? It would also offer the possibility for people who keep both a lossy and a lossless version of files in the same library to ignore certain folders.

Thanks
eloise
Find all posts by this user
Quote this message in a reply
30-04-2015, 18:55
Post: #2
RE: Ignore folder...
(30-04-2015 12:44)audio_elf Wrote:  Simon, is it possible to add a "Ignore Folder" function.

The way it works in Plex and Kodi / XBMC is that if a folder contains a file called .ignore (or similar) that folder's contents (including subfolders) are not scanned.

Would something similar be possible in MinimServer? It would also offer the possibility for people who keep both a lossy and a lossless version of files in the same library to ignore certain folders.

Thanks
eloise

I am thinking of adding support for an "exclude pattern" for files and folders. With this, you should be able to do what you have in mind.
Find all posts by this user
Quote this message in a reply
11-05-2016, 11:20 (This post was last modified: 11-05-2016 12:22 by MikeL.)
Post: #3
RE: Ignore folder...
I would find this handy too. What I do is make smaller ogg files alongside my flacs for use on a portable player. It is annoying to have both indexed. Obviously I could keep them outside the tree, but I find it handier not to maintain parallel trees.

The workaround I am using is to create a new user for minimserver

/etc/passwd:
Code:
minimserver:x:110:996:minimserver:/dev/null:/sbin/nologin

then launch it from a script

minimserver.sh:
Code:
sudo -u minimserver /path/to/latest/minimserver/bin/startd
If I now make my ogg directories

Code:
chmod 700 ogg/
I can read their contents, but minimserver cannot see them to index them.
Find all posts by this user
Quote this message in a reply
14-05-2016, 20:08
Post: #4
RE: Ignore folder...
(30-04-2015 18:55)simoncn Wrote:  I am thinking of adding support for an "exclude pattern" for files and folders. With this, you should be able to do what you have in mind.

+1
Find all posts by this user
Quote this message in a reply
16-11-2016, 02:28
Post: #5
RE: Ignore folder...
Hi Simon,
Did this "exclude pattern" feature ever get implemented? In my case, I have a subset set of AAC files that I would like to keep in their respective subfolders (album folders) on the NAS, but they should not show up in the control point. I was hoping I could just rename a subfolder folder to e.g. "..Chopin" and then that would exclude it from being indexed.
Many thanks
/Peter
Find all posts by this user
Quote this message in a reply
16-11-2016, 10:11
Post: #6
RE: Ignore folder...
At present, any folder name or filename starting with '.' is excluded, so a folder named '..Chopin' will not be scanned.

The next update will support the "exclude pattern" facility and this will enable the user to specify other name patterns for exclusion from scanning.
Find all posts by this user
Quote this message in a reply
18-11-2016, 12:44
Post: #7
RE: Ignore folder...
Thanks Simon
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)