sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.5k stars 105 forks source link

regex help #400

Closed Dubwize closed 8 months ago

Dubwize commented 8 months ago

gonic version:

if from docker, docker tag:latest

Hello

I am trying to get the exclude pattern regex working. Specifically for the folder @eaDir that is created in my nas. Does anyone have a working example for that, or at least some examples I might be able to extrapolate from.

I should be able to match like this snippet from docker-compose shows. I have also tried a number of other patterns like a full match.

environment:

When the gonic server starts, I see the exclusion in the logs. So it's taking the env variable on compose, but it still scans those folders. image

Thank You

sentriz commented 8 months ago

hey, the regex matches on absolute paths like /mnt/music/thing/@eaDir so a pattern like /@ should do it. please reopen if not :+1: