Server Version#: 1.15.3.876
Player Version#: 3.83.2
My plex server running on Debian has a bunch of .plexignore files to exclude certain content. They worked fine until now.
Plex service crapped itself, was non-responsive and I had to restart the service. Upon coming back, it suddenly found all the previous excluded material.
I restarted the machine and started a library scan and some of the ignored material went away, but not all.
Thanks ChuckPA for putting together a detailed post with screenshots and examples. I appreciate it, though unfortunately it does not address the issue I am describing. My explanation may not have been entirely clear.
What I am facing is a situation where I had a working library, utilising .plexignore in my TV Series root and all was well. Plex crashed and I forced a restart. Upon restart, Plex started adding all that material listed in my .plexignore
I think the problem comes back to ye olde Plex Dance™. Once the episode files are in Plex, it does not want to let go of them.
My solution was to do the Plex Dance™ using my .plexignore file as input for automation and to delete the offending listings through Plex. Upon moving the material back, Plex has not re-added them.
This is, however, an incomplete solution because when doing the Plex Dance™ according to OttoKerner, it is a feature to not remove material from Plex, even when doing the Plex Dance™. There are some files that should be ignored but are still attached to a Season as a duplicate file version.
Any suggestion other than “simply delete the library as a whole and re-create it” would be appreciated.
I think the issue is that .plexignore does not remove content already scanned by Plex. My issue is on Linux (in case that matters) with a photo library.
I have also not gotten it to work with any library type.
The plex user and group both own the .plexignore file.
As shown in my screen captures, it immediately removes them.
Where is your data stored in relation to the host and do you have:
Automatically detect changes
Empty Trash after every scan
Clean Bundles set in Scheduled Tasks
When describing problems, it does help to know the details of the problem when first reporting the issue and not after time has been spent investigating.
To my knowlege, .plexignore was never intended or implemented for Photos. I will investigate and test appropriately.
Investigation / discussion with Engineering reveals:
The photo scanner was rewritten.
It was working as of
./Release-Notes/1.9.3.en.txt:- (Scanner) Some plexignore rules were not being applied for photo libraries (#5866)
Change / enhancement request has been submitted to request adjusting the priority of this work. Be advised however. ignoring specific photos in a photo libary is not the intent of the .plexignore
Best practice for all media is to only put those files you want scanned in the directories.
How should I understand this (as a non-native English speaker)? I use *plexignore to only add *.JPG files to my library while filtering out the RAW *CR2 files in the same folder. I do this in order to have every photo appearing only once and not twice. I honestely don’t understand how this is not the intend of that function. Could you give an example of how it should be used instead? And is there another solution to achieve the same result?
It worked perfectly for so long, I want to be positive it will work again soon
Just wanted to chip in that I have the exact same use case and same issue that it stopped working a month or so ago.
I have cr2 files and jpg come off the camera for the same photo. I run a Powershell script to find “duplicate” names then output a list to enter into my .Plexignore
Feature to filter out duplicate raws would be welcomed if plexignore isn’t supposed to do this!
FYI my plex is running on Linux (official docker image), the script I refer to is something that I run manually outside of this. I just coded it to generate the correct contents for the .Plexignore
So some details: I’ve used for about two years this .plexignore script file, placed in the root folder of my photos library.
Ignore files with the extension “.cr2”
*.cr2
Ignore folders
Back-up/* gsdata/*
_others/*
The file systems contains all my folders with photo’s per event. Every picture is saved by my camera with the same “name” in both the *.jpg and *.cr2 extention. When I transfer my photos to my disk, this remains unchanged and it will look like this:
As Plex is natively compatible with both file formats it will scan and add the picture twice to the library. Meaning that when I upload 50 photos (= 100 files on the disk), plex will show 100 photos in the library, but all doubles.
As this is not really ideal, the plex ignore was a nice workaround so that the scanner would ignore the *.cr2 and only add the *.jpg to its index.
As mentioned above, this functionality has stopped working some releases ago.
When I get to it (I’m making a note for mid-week 'ish timeframe), I will write this up.
Sorry I can’t get to it sooner. It’s almost 3am as I write this now.