Jump to content

Help creating an ignore file


Recommended Posts

Casperfan
Posted

Can some help me create a ignore file. I need to exclude 2 sub folders from the search. I am using the latest version of emby and Widows 11 home ed.

@Not for emby

Rubbish

I have tried many times with no success. 

I have created a file .embyignore and tried follow the instruction on here but it not working

Thanks

 

 

 

  

sa2000
Posted
20 hours ago, Casperfan said:

I need to exclude 2 sub folders from the search.

You are mentioning "search". The .embyignore feature described here Excluding Files & Folders enables to have files and folders excluding from libraries. It is not for search exclusion.

There is a global search exclusion feature that operates at library level. So you can have  a library excluded from search by enabling the option in the library preferences/settings, see

image.png

So if want your folders to only be restricted and excluded when searching, I would suggest moving them to another path and create a separate library for them and enable the option to exclude from global search for the library

To exclude folders from libraries, you can use .embyignore 

So create an .embyignore with contents being

/name-of-excluded-folder1
/name-of-excluded-folder2

and place this .embyignore parent folder. This could be a root folder for the library, if the two folders are immediately below that

If a folder to be excluded is at a lower directory level and you want to place your .embyignore in a library root folder, then the .embyignore would need to be like this

/name-of-excluded-folder1
/a-folder/name-of-excluded-folder2

I will look into adding more examples in the support article

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...