Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
excludePattern property problem
10-08-2017, 11:35
Post: #1
excludePattern property problem
I hesitate to report this for I am sure I have made a mistake and I can find no posts that would support my findings, but I am at a loss as to how to proceed.

I have minimserver-0.8-update-102 installed on a Synology DS213j.

I have audio files within a folder named 'music'.
The contentDir = /volume1/music

Within 'music' I have multiple folder names that reflect artists, e.g. 'Radiohead', 'Muse' etc.
I also have a folder named 'glidertestfolder', which is used for various tests of Minimserver and/or various control points.

I have attempted to exclude this folder from a Minimserver rescan.
The excludePattern = glidertestfolder

Following a rescan, I examined the minimserver log file and was surprised at the findings.
Initially, all looks good.

10:46:43.385 main: excludePattern 0: adding PatternMatchPrefix(glidertestfolder)


but then the folder is scanned and tag information is extracted from the contained audio files.

10:48:40.697 main: preVisitDirectory dir=/volume1/music/glidertestfolder
10:48:40.697 main: childPreVisit: dir=/volume1/music/glidertestfolder
10:48:40.697 main: parentFolders[486] = 0
10:48:40.697 main: preVisit: dirPath=/volume1/music/glidertestfolder
Scanning directory glidertestfolder
10:48:40.702 main: preVisitDirectory dir=/volume1/music/glidertestfolder/Robbie Williams
10:48:40.703 main: childPreVisit: dir=/volume1/music/glidertestfolder/Robbie Williams
10:48:40.706 main: parentFolders[487] = 486
10:48:40.707 main: preVisit: dirPath=/volume1/music/glidertestfolder/Robbie Williams
Scanning directory Robbie Williams
10:48:40.709 main: preVisitDirectory dir=/volume1/music/glidertestfolder/Robbie Williams/In And Out Of Consciousness - Greatest Hits 1990-2010
10:48:40.710 main: childPreVisit: dir=/volume1/music/glidertestfolder/Robbie Williams/In And Out Of Consciousness - Greatest Hits 1990-2010
10:48:40.711 main: parentFolders[488] = 487
10:48:40.712 main: preVisit: dirPath=/volume1/music/glidertestfolder/Robbie Williams/In And Out Of Consciousness - Greatest Hits 1990-2010
Scanning directory In And Out Of Consciousness - Greatest Hits 1990-2010
10:48:40.714 main: visitFile file=/volume1/music/glidertestfolder/Robbie Williams/In And Out Of Consciousness - Greatest Hits 1990-2010/Thumbs.db
10:48:40.715 main: preVisitDirectory dir=/volume1/music/glidertestfolder/Robbie Williams/In And Out Of Consciousness - Greatest Hits 1990-2010/@eaDir
10:48:40.716 main: visitFile file=/volume1/music/glidertestfolder/Robbie Williams/In And Out Of Consciousness - Greatest Hits 1990-2010/1-01 - Shame.flac


Needless to say, these tracks appear within the folder structure presented to a control point.

Please put me out of my misery and point out the obvious error. Confused

Thanks in anticipation.
Find all posts by this user
Quote this message in a reply
10-08-2017, 14:00
Post: #2
RE: excludePattern property problem
Thanks for letting me know about this. The problem is caused by a bug in MinimServer and I will release a fix soon. For now, you can work around the bug by putting glidertestfolder* in the excludePattern property.
Find all posts by this user
Quote this message in a reply
10-08-2017, 15:36
Post: #3
RE: excludePattern property problem
(10-08-2017 14:00)simoncn Wrote:  Thanks for letting me know about this. The problem is caused by a bug in MinimServer and I will release a fix soon. For now, you can work around the bug by putting glidertestfolder* in the excludePattern property.

Indeed, that work around does the trick.

Thank you for that and the quick response.

Regards.
Find all posts by this user
Quote this message in a reply
11-08-2017, 17:41
Post: #4
RE: excludePattern property problem
The problem should be fixed now in MinimServer update 103. Please try this and let me know if it is working as expected without the workaround setting. Many thanks!
Find all posts by this user
Quote this message in a reply
11-08-2017, 20:16
Post: #5
RE: excludePattern property problem
(11-08-2017 17:41)simoncn Wrote:  The problem should be fixed now in MinimServer update 103. Please try this and let me know if it is working as expected without the workaround setting. Many thanks!

Thanks for the quick turn around Simon.
Update applied, tested and all OK.
Find all posts by this user
Quote this message in a reply
16-08-2017, 05:10 (This post was last modified: 16-08-2017 05:14 by zavjah.)
Post: #6
RE: excludePattern property problem
Hi,

I have a similar situation on my DJ418j with the standard recycle bin folder of my Synology nas. I have MinimServer 0.8.4 update 103 running

The recycle bin is named in small letters and not with capital R, so #recycle is not ignored like #Recycle. I have tried excluding the folder like this:

minimserver.excludePattern = #recycle

Nevertheless this folder is being indexed and deleted music is available at control point. I cannot remember having this problems with my DS213j, which I had until 1 Month ago.

How can I exclude this folder?
Find all posts by this user
Quote this message in a reply
16-08-2017, 19:13
Post: #7
RE: excludePattern property problem
Are you editing the minimserver.config file directly? This is not supported and can cause problems. If you enter this property value using MinimWatch, it should work.
Find all posts by this user
Quote this message in a reply
02-11-2017, 18:39 (This post was last modified: 02-11-2017 18:52 by simoncn.)
Post: #8
RE: excludePattern property problem
The '#recycle' folder is now excluded automatically in MinimServer update 105.

Also, editing the minimserver.config file is no longer allowed. If you try to do this, you will get an error message and MinimServer won't start.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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