2013-08-03, 20:39
I'm trying to come up with a regex to not sort the trailer structure I have on my NAS. My NAS is primarily setup for MediaBrowser, as I use a lot of cablecard (and everything is protected, so WMC it is on my main, plus XBOX extender) but for my downstairs, I'm playing with XBMC. The good is it seems to all work fine, but when I point it at my network share of movies, it wants to give each "trailer" it's own entry..
they are all stored in MBC format like:
\\storage\action\movie1\
\\storage\action\movie1\trailer\trailer.mov
etc.
In my advancedsettings.xml, located in the userdata folder, I shaped it like this:
<video>
<excludefromscan>
<regexp>[-._ \\/]trailer[-._ \\/]</regexp>
<regexp>[-._ \\/]trailers[-._ \\/]</regexp>
<regexp>[-._ \\/]extras[-._ \\/]</regexp>
<regexp>[-._ \\/]sample[-._ \\/]</regexp>
</excludefromscan>
</video>
<video>
<excludefromlisting> <!-- Regular expressions that if evaluated to true won't be displayed in Files View -->
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</excludefromlisting>
</video>
But it still wants to bring in the trailers...
Any help appreciated (and yes, I went through the scrapers thread quickly, which turned me onto the regex solution, but I must have some expression here I've goofed)
they are all stored in MBC format like:
\\storage\action\movie1\
\\storage\action\movie1\trailer\trailer.mov
etc.
In my advancedsettings.xml, located in the userdata folder, I shaped it like this:
<video>
<excludefromscan>
<regexp>[-._ \\/]trailer[-._ \\/]</regexp>
<regexp>[-._ \\/]trailers[-._ \\/]</regexp>
<regexp>[-._ \\/]extras[-._ \\/]</regexp>
<regexp>[-._ \\/]sample[-._ \\/]</regexp>
</excludefromscan>
</video>
<video>
<excludefromlisting> <!-- Regular expressions that if evaluated to true won't be displayed in Files View -->
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</excludefromlisting>
</video>
But it still wants to bring in the trailers...
Any help appreciated (and yes, I went through the scrapers thread quickly, which turned me onto the regex solution, but I must have some expression here I've goofed)