Cannot stop recursive scanning of STREAM, PLAYLIST, and VIDEO_TS folders

Recently upgraded to Kodi 17 and it seems no matter what settings I use for “Scan recursively”, after my movie library is scraped, Kodi also scans every single STREAM and PLAYLIST folder within the BDMV structure and adds hundreds of copies of “The Breakup Playlist (2015)” and “Stream (2000)”, and a copy of “Video (2016)” for every DVD I have ripped. I have tried adding the following to my advancedsettings.xml files with no effect…

<videoextensions>
<remove>.mpls</remove>
<remove>.m2ts</remove>
</videoextensions>

For reference here is my full advancedsettings.xml…

Quote:<advancedsettings>
<tvshowmatching append=”no”>
<regexp>\[[Ss]([0-9]+)\]_\[[Ee]([0-9]+)\]?([^\\/]*)(?Sad?:[\\/]video_ts)[\\/]video_ts.ifo)?</regexp>
<regexp>[\._ \[\-\\/]([0-9]+)x([0-9]+)([^\\/]*)(?Sad?:[\\/]video_ts)[\\/]video_ts.ifo)?</regexp>
<regexp>[Ss]([0-9]+)[\.\-]?[Ee]([0-9]+)([^\\/]*)(?Sad?:[\\/]video_ts)[\\/]video_ts.ifo)?</regexp>
<regexp>[\._ \-\\/]([0-9]+)([0-9][0-9])([\._ \-][^\\/]*)(?Sad?:[\\/]video_ts)[\\/]video_ts.ifo)?</regexp>
</tvshowmatching>
<moviestacking>
<!– <cd/dvd/part/pt/disk/disc/d> <0-N> –>
<regexp>(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck]|d)[ _.-]*[0-9]+)(.*?)(\.[^.]+)$</regexp>
<!– <cd/dvd/part/pt/disk/disc/d> <a-d> –>
<regexp>(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck]|d)[ _.-]*[a-d])(.*?)(\.[^.]+)$</regexp>
<!– movienamea-xvid.avi, movienameb-xvid.avi –>
<regexp>(.*?)([ ._-]*[a-d])(.*?)(\.[^.]+)$</regexp>
</moviestacking>
<videoextensions>
<remove>.mpls</remove>
<remove>.m2ts</remove>
</videoextensions>
</advancedsettings>

Any help is appreciated. I have been trying to troubleshoot this for hours by searching on Google and the Kodi forums with no luck so far.

Thanks.