2011-01-08, 23:08
i just set up xbmc and added all movies to the library. the problem is, some of the movie folders include sample files. no i got this movies twice in my library - each time i have to gues which is the movie and which is the sample :-(.
so how to filter those files?
so far i tried to create a advancedsettings.xml in my ...roaming/xbmc/userdata and inserted:
<advancedsettings>
<video>
<excludefromscan>
<regexp>-trailer</regexp>
<regexp>[-._ \\/]sample[-._ \\/]</regexp>
</excludefromscan>
</video>
</advancedsettings>
this example comes from: http://wiki.xbmc.org/?title=Advancedsettings.xml#Layout
but the sample didn't disapear (tried cleaning the database)
now i tried it with "<regexp>.*(?i)sample.*</regexp>" - also didn't work.
(should be all strings including sample case insensitive)
so why this is not working, how the get rid of the samples? before rebuilding the entire database i want to be sure that it is working afterwards.
thx in advance
so how to filter those files?
so far i tried to create a advancedsettings.xml in my ...roaming/xbmc/userdata and inserted:
<advancedsettings>
<video>
<excludefromscan>
<regexp>-trailer</regexp>
<regexp>[-._ \\/]sample[-._ \\/]</regexp>
</excludefromscan>
</video>
</advancedsettings>
this example comes from: http://wiki.xbmc.org/?title=Advancedsettings.xml#Layout
but the sample didn't disapear (tried cleaning the database)
now i tried it with "<regexp>.*(?i)sample.*</regexp>" - also didn't work.
(should be all strings including sample case insensitive)
so why this is not working, how the get rid of the samples? before rebuilding the entire database i want to be sure that it is working afterwards.
thx in advance