2014-10-11, 00:47
I am trying to exclude trailer files from showing up as duplicate movies. I tried a bunch of regexp options that I checked for validity via one of the regexp checkers online. At this point I added a bunch of regexp variation to try to match but I still get duplicates after even removing the source, cleaning the library and re-adding it. My filesystem is as follows:
Movies/{name} {year}/{original_filename}.{ext}
Movies/{name} {year}/Trailer.mov
Many of my movies are not matched but I will solve that later by adding nfo's or adding brackets around the year. The movies that are matched and have a "Trailer.mov" file appear as duplicates one playing the trailer another the actual movie.
Here's my entire advancedsettings.xml file:
Can anyone see any issues anywhere? I also tried adding regexp to excludefromscan and trailermatching with no success. I am out of ideas and it's been a couple of years since I've tried to get local trailers to work and now I can't even get the duplicates removed... Any ideas greatly appreciated.
Movies/{name} {year}/{original_filename}.{ext}
Movies/{name} {year}/Trailer.mov
Many of my movies are not matched but I will solve that later by adding nfo's or adding brackets around the year. The movies that are matched and have a "Trailer.mov" file appear as duplicates one playing the trailer another the actual movie.
Here's my entire advancedsettings.xml file:
Code:
<advancedsettings>
<tvshowmatching action="prepend">
<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)([^\\/]*)$</regexp>
<regexp defaultseason="0">Specials[\\/]()([0-9]+)([^\\/]*)$</regexp>
</tvshowmatching>
<tvmultipartmatching>^[-_EeXx&]+([0-9]+)</tvmultipartmatching>
<trailermatching>
<!-- This regexp will match trailer.avi -->
</trailermatching>
<video>
<excludefromlisting>
<regexp>Trailer.mov</regexp>
<regexp>/trailer\.[a-z]{2,4}/i</regexp>
<regexp>(sample|trailer)</regexp>
<regexp>#recycle</regexp>
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</excludefromlisting>
<excludefromscan>
<regexp>#recycle</regexp>
</excludefromscan>
<excludetvshowsfromscan>
<regexp>#recycle</regexp>
</excludetvshowsfromscan>
<pictureexcludes>
<regexp>#recycle</regexp>
</pictureexcludes>
</video>
</advancedsettings>
Can anyone see any issues anywhere? I also tried adding regexp to excludefromscan and trailermatching with no success. I am out of ideas and it's been a couple of years since I've tried to get local trailers to work and now I can't even get the duplicates removed... Any ideas greatly appreciated.