Multiple folders of other shows being added to different show

Server Version#: 1.42.1.10060

When creating a new library one show will have episodes from a bunch of other different folders added in as if they were that show. Case in point.

/public/video/tv shows/Peacemaker and it will have a /Season 1 folder. When I use the player interface on the server interface browser, it will say Peacemaker has 27 seasons. When I look at Peacemaker, it will show way different episode counts, like Season 1 will have 53 episodes, and if I look at the season, it has episodes from maybe 8 other shows, which are in their own folders. I tried deleting the entire library, fixed some folder names and added everything back and it’s done the same thing, now with Peacemaker.

My folders and season are all named properly, and I don’t understand why files in other folders are being added to this one.

Also is there anyway to just delete one show, like Peacemaker, and then add it back ? In the last iteration of the library, removing the media files and the Peacemaker directory did not cause the show to be removed from the library display, so I deleted the whole library, but problem still exists. I’ve filescanned and there is no other hidden “Peacemaker” directory.

When you created the library, which folder did you add to the library?
It should be exactly tv shows. Not even a single level above, nor below of that.

I didn’t think Plex did subdirectories, since there were shows missing in the old library. I added

/tv shows

/tvshows/both

/tvshows/teresa

Peacemaker is in the base /tvshows while at least some of the bogus extra episodes appear to be from /tvshows/teresa

You only add /tv shows.
Never add any other folder levels – particularly if they are inside the same folder that you already added before.
Keeping the proper folder structure is immensely important when dealing with TV shows in Plex:
https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/
Failing to do so will get you exactly the kind of issues that you are dealing with now.

Do you have “automatic library scans” activated?

Are the mixed-in episodes in mp4 format, perhaps? If they are, check them for embedded metadata. Or disable “prefer local metadata” in the properties of the library, then perform the Plex Dance with all mixed up shows.

There could be some .mp4s. I have scans set for daily. I’ll make that change, and just delete the whole library and let it start from fresh.

Thanks.

To maybe help avoid some of this, is there a way to exclude a folder from the tree, ie I have

/tvshows as the main but I want to exclude

/tvshows/ufo because the filenames are messed up and I’ll fix them later.

Is this a single show, or is this a subfolder used for thematic grouping?
If the latter, you cannot use this with Plex. There must be no additional folder levels than what is shown in the linked naming guide.

If the former, there are .plexignore files. But I wouldn’t recommend using them, not even temporarily. They slow down library scans considerably.
https://support.plex.tv/articles/201381883-special-keyword-file-folder-exclusion/

ok, that’s fine. I had just copied out all the bad show folders like /ufo before I added the library back, in the hope that this time it won’t get messed up. As I fix each show, I’ll copy the folder back to the main library and let plex just scan it back in.

Thanks a lot.