MinimServer Forum
Any way to exclude a Library folder from MinimServer - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Any way to exclude a Library folder from MinimServer (/showthread.php?tid=6755)



Any way to exclude a Library folder from MinimServer - mightyoakbob - 14-12-2022 12:41

I have some hi-res flac files in my library. Unfortunately, we also have a couple of sonos speakers on our system which cannot play hi-res. So we a folder with 44K1 16bit copies of the hi-res music. I would like to exclude that folder from MinimServer. Any chance?

Thanks.

Bob.


RE: Any way to exclude a Library folder from MinimServer - simoncn - 14-12-2022 13:04

You can do this with the excludePattern property (see this section).


RE: Any way to exclude a Library folder from MinimServer - mightyoakbob - 14-12-2022 15:50

(14-12-2022 13:04)simoncn Wrote:  You can do this with the excludePattern property (see this section).

Wow, Just tried that, yes it works great.
Thank you very much.

Merry Christmas.
Bob.


RE: Any way to exclude a Library folder from MinimServer - NAPUCO - 27-09-2023 16:37

(14-12-2022 13:04)simoncn Wrote:  You can do this with the excludePattern property (see this section).

Hello! I am sorry, but I do not understand the exclusion settings.
Tried anything mentioned in the description - it has not excluded anything on MinimServer 2.2 update 240 on LinuxMint

I would appreciate a copy&paste solution for the the simple exclusion of anything in this folder:

/media/JukeBox/00000_NEXTCLOUD_00000/Share/

i have tried:
/media/JukeBox/00000_NEXTCLOUD_00000/Share/*.* -> did not exclude
/media/JukeBox/00000_NEXTCLOUD_00000/Share/*.mp3 -> did not exclude
/media/JukeBox/00000_NEXTCLOUD_00000/Share/*.flac -> did not exclude.

but when i searched in the logfile i could not find anything matching "0000_NEXTCLOUD_00000/". ??? So it actually did not scan as I intended ????
But the content of this "share"- folder is in the library. Sad

Tell me the secret please!

ThankU!


RE: Any way to exclude a Library folder from MinimServer - simbun - 27-09-2023 18:09

I believe the logic is based on file or folder matching.

Are you trying to exclude everything under "/media/JukeBox/00000_NEXTCLOUD_00000"? If so just "00000_NEXTCLOUD_00000" should work.

I'm not aware of a way to specify a multilevel path.


RE: Any way to exclude a Library folder from MinimServer - simoncn - 27-09-2023 21:03

As simbun has said, matching is for one level in the hierarchy (file or folder). This one-level match can include wildcards (*).


RE: Any way to exclude a Library folder from MinimServer - NAPUCO - 28-09-2023 08:27

Thank u both for your quick and nice response.

I do not understand anything.

BUT the hint simply to use 00000_Nextcloud.... instead of "00000_Nextcl..." or as I formerly tried with wildcarts *.mp3

Brought the result.

Thanks a lot.