Android How do I exclude "Trailer.*" from video library?
#1
Question 
Device: Amazon Fire TV Stick
Kodi version: 17 "Krypton" beta
Data source: SMB, connected to my NAS

My movie folder structure consists of one folder per movie under which I typically have the following files:
  • Movie_Name.avi
  • Trailer.mp4
  • Poster.jpg

I want to exclude all "Trailer.*" files from my library. Following this wiki, I created the following advancedsettings.xml file and placed it in my Fire TV Stick's "Android/data/org.xbmc.kodi/files/.kodi/userdata/" folder, as per this other wiki.

Code:
<advancedsettings>
    <video>
        <excludefromscan>
            <regexp>^(?i)trailer\..+$</regexp>
        </excludefromscan>
        <excludefromlisting>
            <regexp>^(?i)trailer\..+$</regexp>
        </excludefromlisting>
    </video>
</advancedsettings>

I even tried a more restrictive, but also more straightforward regex that matches exactly the name of my trailer files, including capitalization, all with the same result.

Code:
<advancedsettings>
    <video>
        <excludefromscan>
            <regexp>Trailer\.mp4</regexp>
        </excludefromscan>
        <excludefromlisting>
            <regexp>Trailer\.mp4</regexp>
        </excludefromlisting>
    </video>
</advancedsettings>


However, nothing changes. I have tried all of the following to no avail:
  • Restarting Kodi
  • Rebooting my Fire TV Stick
  • Refreshing my library
  • Cleaning my library
  • Completely removing and readding my library

By the way, whether I have an advancedsettings.xml file or not, the trailer files only show in the main Kodi screen where you see Movies, TV Shows, Music, etc. on the left-side menu and you see sections "Recently added movies", "Unwatched movies", etc. If I actually click on Movies to go to the main movie list, the trailers never show, with or without these changes above. You can see that in these screenshots below.

Image

Image

Any other ideas?
Reply


Messages In This Thread
How do I exclude "Trailer.*" from video library? - by Razor1973 - 2016-12-22, 08:55
Logout Mark Read Team Forum Stats Members Help
How do I exclude "Trailer.*" from video library?0