.plexignore broken?

Server: 1.32.8.7639

Yesterday I added some extras to my movie library. I only wanted to store these extras with the content but I don’t want them to be added to Plex or the movie library. It didn’t work as expected. What I did:

Consider the following directory/file struct:

/mnt/disk1/Movies/Movie (2024)/
/mnt/disk1/Movies/Movie (2024)/Movie (2024) {imdb-tt1234567}.mkv
/mnt/disk1/Movies/Movie (2024)/fanart.jpg
/mnt/disk1/Movies/Movie (2024)/folder.jpg
/mnt/disk1/Movies/Movie (2024)/movie.xml

/mnt/disk1/Movies/Movie (2024)/Scenes/
/mnt/disk1/Movies/Movie (2024)/Scenes/.plexignore
/mnt/disk1/Movies/Movie (2024)/Scenes/Bla bla-scene.mp4

/mnt/disk1/Movies/Movie (2024)/Trailers/
/mnt/disk1/Movies/Movie (2024)/Trailers/.plexignore
/mnt/disk1/Movies/Movie (2024)/Trailers/Bla bla-trailer.mp4

Both .plexignore files contain one of the following patterns matching the corresponding folder:

*scene*
or
*trailer*

After a Metadata refresh these extras have been added to the content.

What’s wrong with my approach?

scene or trailer are for file names not directories

Try this:
Scenes/*
Trailers/*

Please elaborate more. Please look here:

https://support.plex.tv/articles/201381883-special-keyword-file-folder-exclusion/

Quote from the link above:

“Patterns without the forward-slash (/) character (e.g. *.mkv) match filenames in the same directory as the .plexignore file, or anywhere in the tree if .plexignore is a root of the section.”

In my case .plexignore was in the same directory as the files containing the corresponding pattern:

/mnt/disk1/Movies/Movie (2024)/Trailers/.plexignore
/mnt/disk1/Movies/Movie (2024)/Trailers/Bla bla-trailer.mp4

However, will try with .plexignore in the root of the section - whatever that is in my case (/mnt/disk*/Movies/.plexignore)

The easier solution is to place the .plexigore in the Scenes directory and inside the file have *.mp4 and do the same for trailers.

I started with the exact example shown at the end of the link above. This shows e.g. trailer within the .plexignore file. As this didn’t work for me, I tried different variations. My example should work but it does not.

Is exactly the same as “Moviename (1234) {imdb-1234567} [edition-Logo].mkv”. Should not add an edition according to the docs - but it does.

I will try my section root with the .plexignore file today because this would be the easiest solution. Hope that this one works.

Thanks for your time and idea.

Does your Plexignore file have an extension?

When you look at the file is it named .plexignore.txt or is it named .plexignore …with no .txt?

If you have a .txt then plex won’t find the file. It needs to be just .plexignore Try that first. That might be why its not working.

Another thing you can try is put the .plexignore file in the overall movie folder and inside the plexignore file you have the folder listed. so ```
*Scenes/ *
*Trailers/ *

And this way anything you put in this folder will be ignored.

Or you can create a folder called “extras” and put your scenes folder and trailer folder in there, as according to the tutorial plex ignores that folder name by default.

No extension. It’s a Slackware server without desktop tools.

I gave up on this - couldn’t get it to work.

The .plexignore file:

root@Tower:/mnt/disk1/Filme# ls -la .plexignore
-rwxrw-rw- 1 nobody users 18 Feb 17 07:44 .plexignore*
root@Tower:/mnt/disk1/Filme# cat .plexignore
*scene*
*trailer*
root@Tower:/mnt/disk1/Filme#

/mnt/disk1/Filme/ is one of the directories of the library. So it’s one of the root folders:

image

This is the directory of this movie:

image

So, the trailer should be ignored, no?

After a metadata refresh the trailer, that should have been ignored, shows up. It’s the one on the left:

This may sound silly but I wonder if the ignore file is case sensitive? Maybe add *Trailer * with a capitol T. to your ignore file? The file name has trailer as capitol, I don’t know if the ignore file reads the -trailer as one word. You may want to try -trailer in the ignore file also. or [-trailer.] that would be [dash trailer dot] . If plex is looking for a pattern maybe feed the ignore file with the -trailer.

xtrailerx (don’t know how to get asterisk character here) should match “Bla Trailer-trailer.ext”. However I will try your suggestion. But as I wrote - I gave up on this.

Thank you for answering appreciate it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.