I appreciate you trying to help but this is not a user error, it’s a bug in the scanner.
But to answer your question, the .plexignore only contains that single filename and no, it does not matter if the extras are inline or in subfolders.
Bump.
Also would like to add that .plexignore should be able to hide extras as well. If you need an example why this could be useful (it’s should’ve already been working but still): Let’s say there are multiple trailers on a disc and you want the “Play Trailer” button to play your favorite trailer. In that case, it would be easiest to just hide all other trailers via .plexignore.
The point is that the intent is irrelevant. The scanner fails to match extras once another media file (an untagged extra if you will) is being matched by .plexignore. This is clearly a bug and should be treated as such. Also, as you can see by my note above, this is a regression from the previous “Plex Movie (Legacy)” agent.
As a workaround, I have given all media files that I want to be hidden an additional suffix (e.g. Apocalypse Now (1979) [4K].mkv.ignore). Once this issue is resolved, I can then simply remove the extra extension, and let it get matched (and subsequently hidden) by .plexignore again.
If there’s a deficiency in the new scanner/agent – we can address it.
Show me what you have and why you think it should work as written,
As for the extension - The scanner will ignore any file extensions which are not normally media files. e.g. .TXT is not normally a media file so will be ignored.
I missed this bit the last time I read your comment (probably an edit). Is this a request for clarification? If it is, I really have no idea how to make myself clearer. Hopefully you will figure it out from the OP. I can of course provide more examples.
As for the why, it doesn’t really matter – the scanner should not fail regardless.
Yeah I know, I was just providing an example (and .ignore certainly makes more sense than .txt). Thinking about it, your example is kinda unsafe because all would go to sh*t if I’d be looking for something with e.g. find /mnt -name \*.txt -exec grep -H 123 "{}" \;.
After creating the .plexignore, if I Scan Library Files and then Refresh Metadata, I can reproduce the behavior.
If there are multiple Versions of a movie in a directory, and .plexignore is used to exclude one of them, some types of Local Media Assets from that directory will also be ignored. Posters and Trailers are both ignored; Subtitles aren’t.
Reproduction:
/mnt/movies.tst/Ghostbusters % tree -a .
.
├── Bill\ Murray-interview.avi
├── Ghostbusters.en.srt
├── Ghostbusters [1080p].mkv
├── Ghostbusters [480p].mkv
├── poster.jpg
└── Trailers
└── Theatrical\ Trailer-trailer.mp4
### At this point, all items are in Plex as expected.
### Create the .plexignore:
/mnt/movies.tst/Ghostbusters % echo "Ghostbusters [480p].mp4" >> .plexignore
Back in Plex, Scan Library Files and Refresh Metadata.
Ghostbusters [480p].mp4 is now excluded from Plex, as expected. However,
The Trailer and Interview are both missing.
The Poster is missing.
The Subtitle is still present.
I find it disappointing that neither you nor another Plex employee took the 10 seconds it would’ve taken to let me know that it has supposedly been fixed considering I was the one making the report. Also no mention in the changelog.
It’s not even fixed. If I uncomment the second video file my trailer will vanish. That’s what I meant by “no communication”. I could’ve told you that months ago.