It would be appreciated if you could exclude directories like Kodi like this:
7 Excluding directories/folders
Kodi can exclude certain directories from the library all together using a few different methods.
Use the "Exclude folder from scans" option when the content type is set to "none"
Place a file (even an empty one) named .nomedia in the directory you want to exclude.
Note: Windows users should name the file .nomedia. which will trick Windows into using the proper .nomedia name.
Folders with -trailer or sample in the name will be automatically skipped. For the exact pattern match, see here.
Users can also add additional patterns to be excluded by using the advancedsettings.xml tag