Stargate File Naming Convetion - SG1 and Atlantis files mixed/recognized as an SG1 episode

I’m struggling to get my Stargate collection to sync to plex correctly. I’ve got all the seasons loaded, but for some reason, a few episodes of Atlantis Season 2 are mapping to the corresponding episode of Season 2 of SG1. When I go to Media Info on the SG1 episode, it shows both episodes mapped:

TV Shows/Stargate Atlantis/Stargate Atlantis - s02e03 - Runner.mp4
TV Shows/Stargate SG1/Stargate SG1 - s02e03 - Prisoners.m4v

I’ve messed around with the naming convention, adding the tiles, dashes. I’ve nested folders, creating a Stargate folder with SG1 and Atlantis Subfolders. I’ve removed the files from the folder, added them in one at a time. I updated the agent settings have TheTVDB listed on top. But it keeps remapping the Atlantis file to a single episode of SG1. I’m not sure what else I can try.

Is there a way to manually override it?

There are a few options and I would say the start is to do the Plex Dance. Sometimes Plex remembers even though you changed things.

I would suggest moving the shows out of “TV Shows” during the Plex Dance and then set them up with naming, and then put them back.

Here are some suggestions for naming:

  • Showname\Season\Episode :: TV Shows/Stargate Atlantis/Season 2/Stargate Atlantis S02e03.mp4 and TV Shows/Stargate SG1/Season 2/Stargate SG1 S02E03.m4v - missing the season folder can really throw it off.
  • Force matching - in the Show folder you can add the TMDB or TVDB code so “Stargate Atlantis {tvdb-70851}” will force it to match that show. This article details that a bit more (as well as some of the naming expectations)

Once you have the folders\files named out, go ahead and put them back into your Plex TV Show library folder as part of the Plex Dance above and hopefully it’ll pick it up correctly.

Hopefully that helps a bit.

Edit: Also of note, the application FileBot can be very useful for doing lots of batch renaming. It even has format rules that can be set for Plex compatibility.

1 Like

The format that I use and works great for me is to make sure you match the tvdb series title exactly. I dont use season folders, but everything follows and exacting naming schema:
‘’%(seriesname)s\%(seriesname)s - [%(seasonnumber)02dx%(episode)s] - %(episodename)s%(ext)s’,

which for this example would be:
Stargate Atlantis\Stargate Atlantis - [02x03] - Runner.mkv
Stargate SG-1\Stargate SG-1 - [02x03] - Prisoners.mkv

1 Like

I will also note that if Plex is mixing the shows up, you need to go the show level and split the show (and then correct the matching at that point)

1 Like

Thank you so much. This was driving me crazy. I’m not sure if it was just doing the Plex Dance that worked or the change in the naming convention. Either way, it’s working perfectly now.

1 Like

Sometimes Plex identification can be forgiving … sometimes it’s not… glad you got it sorted!

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