MinimServer Forum

Full Version: excludePattern property problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
(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.
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!
(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.
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?
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.
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.
Reference URL's