2009-11-01, 18:32
Hi I have done a search but could not find exactly what I was looking for.
I am trying to use the advancedsettings.xml file to exclude some file patterns from being included in the library.
The file patterns I want to exclude are both (in normal dos ascii type format):
*utorrentpartfile*.*
&
*sample*.*
I have Windows SVN build rev23333 and so far I tried the following:
As you can see the problem is I have no idea of the regexp syntax that is required only stumbled across the above syntax from another thread. I have checked the link:
http://www.xbmc.org/wiki/?title=Regular_...9_Tutorial
but not being a programmer I was not able to make head nor tails of it!
Could someone please help with the correct syntax I should be using there??
Thanks in advance!
PS: I have checked my log and the advancedsettings.xml file is being read.
I am trying to use the advancedsettings.xml file to exclude some file patterns from being included in the library.
The file patterns I want to exclude are both (in normal dos ascii type format):
*utorrentpartfile*.*
&
*sample*.*
I have Windows SVN build rev23333 and so far I tried the following:
Quote:<advancedsettings>
<loglevel>1</loglevel>
<video>
<excludefromscan>
<regexp>[ _\.-](uTorrentPartFile)[ _\.-]</regexp>
<regexp>[ _\.-](sample)[ _\.-]</regexp>
</excludefromscan>
<excludefromlisting>
<regexp>[ _\.-](uTorrentPartFile)[ _\.-]</regexp>
<regexp>[ _\.-](sample)[ _\.-]</regexp>
</excludefromlisting>
</video>
</advancedsettings>
As you can see the problem is I have no idea of the regexp syntax that is required only stumbled across the above syntax from another thread. I have checked the link:
http://www.xbmc.org/wiki/?title=Regular_...9_Tutorial
but not being a programmer I was not able to make head nor tails of it!
Could someone please help with the correct syntax I should be using there??
Thanks in advance!
PS: I have checked my log and the advancedsettings.xml file is being read.