Post Reply 
Extent "excludePattern" from file/folder level to path level
27-01-2026, 23:12
Post: #11
RE: Extent "excludePattern" from file/folder level to path level
Great job, it's already amazing how much functionality and great performance you provide within MinimServer. 100k files is no issue for MinimServer!
I just will wait for your update postings.
Find all posts by this user
Quote this message in a reply
05-02-2026, 13:50
Post: #12
RE: Extent "excludePattern" from file/folder level to path level
This change is now available in MinimServer update 268. You should be to do what you want by setting the excludePattern property to this:

/share/CACHEDEV1_DATA/Music Library/## ROEL ##
Find all posts by this user
Quote this message in a reply
05-02-2026, 17:58
Post: #13
RE: Extent "excludePattern" from file/folder level to path level
Thx Simon.
When I scan: /share/CACHEDEV1_DATA/Music Library
And exclude: /share/CACHEDEV1_DATA/Music Library/Qobuz/
Than it ends up with no exclusion.
The standard Qobuz folder exclusion is working.
Do I misunderstand the excludedPattern working?
Find all posts by this user
Quote this message in a reply
05-02-2026, 18:08
Post: #14
RE: Extent "excludePattern" from file/folder level to path level
I have not tested with / at the end of the path. Please try this and let me know whether it works:

/share/CACHEDEV1_DATA/Music Library/Qobuz
Find all posts by this user
Quote this message in a reply
05-02-2026, 18:11 (This post was last modified: 05-02-2026 18:19 by z624391.)
Post: #15
RE: Extent "excludePattern" from file/folder level to path level
I just tested it without success. I also restarted the QNAP MinimServer App.

The standard folder exclusion works well with and without the "/" at the end.

So, it feels like your new functionality is not activated.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
05-02-2026, 20:12
Post: #16
RE: Extent "excludePattern" from file/folder level to path level
Thanks for letting me know. I see what is causing this. I should be able to fix it tomorrow.
Find all posts by this user
Quote this message in a reply
06-02-2026, 13:40
Post: #17
RE: Extent "excludePattern" from file/folder level to path level
This is fixed now in MinimServer update 269.
Find all posts by this user
Quote this message in a reply
06-02-2026, 18:18
Post: #18
RE: Extent "excludePattern" from file/folder level to path level
Simon, your exclude filter is working. This is what I did:

contentDir:
/share/CACHEDEV1_DATA/Music Library
/share/CACHEDEV1_DATA/Music Library/foobar2000/## ROEL ##/

excludePattern:
/share/CACHEDEV1_DATA/Music Library/foobar2000/## ROEL ##

This is causing a trick:
"foobar2000/## ROEL ##/" is excluded from "/share/CACHEDEV1_DATA/Music Library" but "/share/CACHEDEV1_DATA/Music Library/foobar2000/## ROEL ##/" is still there.
The suffix "/" is important in this case.

Is it maybe an idea to move the excludePattern to the contectDir area (they are strongly related) and create sets of them per item:
1x content + 1x excludePattern
1x content + 1x excludePattern
1x content + 1x excludePattern
etc
Find all posts by this user
Quote this message in a reply
07-02-2026, 18:44
Post: #19
RE: Extent "excludePattern" from file/folder level to path level
I have checked carefully and there is no difference with having a / at the end of the path in either contentDir or excludePattern.

Also, excludePattern does not exclude content directories. This has always been true for pattern match excludes and it is also true for folder path excludes. This is why /share/CACHEDEV1_DATA/Music Library/foobar2000/## ROEL ## is being scanned even though it is in excludePatterns.

I understand why you are suggesting combining contentDir and excludePattern settings but I think this creates too much complexity. All users need to set contentDir but very few users need to use excludePattern to do what you are doing. Keeping excludePattern as a separate property means that most users don't need to understand the complicated rules for how it works.
Find all posts by this user
Quote this message in a reply
19-02-2026, 15:59
Post: #20
RE: Extent "excludePattern" from file/folder level to path level
Apology for the delayed response, I was on a trip. Your update is working, indeed with or without "/". Thx for your support in this matter.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: