Kodi Community Forum

Full Version: Advancedsettings.xml Regex question about exclusions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to find a way for Kodi to excude the files/folders on my NAS that start with ._ (I do my file maintenace on a Mac) from scanning and adding to the library. I found the following sections in the "AdvancedSettings.xml" wiki, but can't figure out how to format it to exclude the desired files. Can Anyone help?

<advancedsettings>
<video>
<excludefromscan>
<regexp>-trailer</regexp>
<regexp>[!-._ \\/]sample[-._ \\/]</regexp>
</excludefromscan>
<excludetvshowsfromscan>
<regexp>[!-._ \\/]sample[-._ \\/]</regexp>
</excludetvshowsfromscan>
</video>
</advancedsettings>
Unfortunately, that's still greek to me Sad