Kodi Community Forum
Excluding rar files with advancedsettings.xml - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Excluding rar files with advancedsettings.xml (/showthread.php?tid=135110)



Excluding rar files with advancedsettings.xml - rickles - 2012-07-01

Some of my movie folders include .rar files containing subtitles. When I do a video library update, XBMC pops up little windows that seem to be scanning inside the .rar files, and they even pop up when watching a movie (my library auto updates once per hour).

So I am trying to exclude .rar files from my library scans using advancedsettings.xml. I have added this entry but it hasn't worked:

Code:
<regexp>.*\.rar</regexp>

Could someone help me correct this?


RE: Excluding rar files with advancedsettings.xml - PatK - 2012-07-01

From the wiki this would exclude 'crap and morecrap'.

http://wiki.xbmc.org/index.php?title=Advancedsettings.xml

<advancedsettings>
<video>
<excludefromscan>
<regexp>crap</regexp>
<regexp>[!-._ \\/]crap|morecrap[-._ \\/]</regexp>
</excludefromscan>
</video>
</advancedsettings>



RE: Excluding rar files with advancedsettings.xml - PatK - 2012-07-01

From the wiki this would exclude 'crap and morecrap'.
Not sure if wild cards are allowed.

http://wiki.xbmc.org/index.php?title=Advancedsettings.xml

<advancedsettings>
<video>
<excludefromscan>
<regexp>crap</regexp>
<regexp>[!-._ \\/]crap|morecrap[-._ \\/]</regexp>
</excludefromscan>
</video>
</advancedsettings>