Kodi Community Forum

Full Version: Filter out extras folder from scan
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Some of my movies have extras folder. How can I exclude this folder from scanning.
Put this in your advancedsettings.xml

<video>
   <!-- VideoExtras: Section Start -->
       
    <excludefromscan action="append">
           
     <regexp>-extras-</regexp>
           
     <regexp>/Extras/</regexp>
           
     <regexp>[\\/]Extras[\\/]</regexp>
       
    </excludefromscan>
       
    <excludetvshowsfromscan action="append">
           
     <regexp>-extras-</regexp>
           
     <regexp>/Extras/</regexp>
           
     <regexp>[\\/]Extras[\\/]</regexp>
       
    </excludetvshowsfromscan>
       
   <!-- VideoExtras: Section End -->
 
  </video>
what's the problem of having extras?
The folder should already be recognized, and should not interfere with anything....
Image

Is this how its supposed to be? I assume extras would never shown in the TMM UI.

Thanks.
Ok, this only works when having the video files directly in /extras/ folder.
You seem to have another folder level down there.
Since TMM is able to detect movies multiple folder level deep, this does not work here...
(2018-08-13, 17:00)myron Wrote: [ -> ]Ok, this only works when having the video files directly in /extras/ folder.
You seem to have another folder level down there.
Since TMM is able to detect movies multiple folder level deep, this does not work here...

Just had this come up for me as an issue as well.  Wondering if there's anyway to have it ignore everything below a certain directory name.