Why has this movie also matched against five extras from another movie?

Hi all.

My copy of The Lego Movie has a problem. Under Media Info it shows me six files:

  • X:\Video\Family\Movies\The Lego Movie\The Lego Movie.m4v
  • X:\Video\Family\Movies\Lego Batman The Movie\Scenes\Lego DC Universe Super Heroes Video Contest - 1st Place - Black Friday.m4v
  • X:\Video\Family\Movies\Lego Batman The Movie\Scenes\Lego DC Universe Super Heroes Video Contest - 2nd Place - Prison Brick-Out.m4v
  • X:\Video\Family\Movies\Lego Batman The Movie\Scenes\Lego DC Universe Super Heroes Video Contest - 3rd Place - Superman.m4v
  • X:\Video\Family\Movies\Lego Batman The Movie\Scenes\Lego DC Universe Super Heroes Video Contest - 4th Place - Plastic Justice.m4v
  • X:\Video\Family\Movies\Lego Batman The Movie\Scenes\Lego DC Universe Super Heroes Video Contest - 5th Place - Wicked Surprise.m4v

The first one is the correct file; the other five are extras from another movie with a similar name (which, by the way, is not The Lego Batman Movie but another Lego/Batman thing from 2013). When I try to watch the movie through Plex, it always plays the item “…3rd Place - Superman.m4v”.

I can’t see how to fix this. There’s no “fix match” available for extras, and besides, those extras appear alongside “Lego Batman The Movie” as they should do. It’s just that Plex also thinks they’re alternative files to use for “The Lego Movie”, and I can’t seem to tell it otherwise.

There’s a Delete Files button alongside the paths in Media Info, but I don’t want to delete the files, only remove the match – and besides, it would be good to know how it happened in the first place.

Any advice? I’ve tried “Refresh Metadata” on both movies with no luck.

Thanks in advance!

If memory serves, and it’s been a while since I recall reading this… Something about “DC Universe” in the folder structure or title messes with matching. I don’t recall specifics, but I remember seeing the issue come up.

Could be also embedded metatags in your m4v files.
Either clear those meta data out or do this:
Go to Settings - Server - Agents - Shows - TheTVDB
In there, grab the line ‘Local Media Assets’ with your mouse and drag it downwards, so it ends up being at the bottom of the stack of active agents.
Repeat the same under
Settings - Server - Agents - Shows - TheMovieDatabase
+
Settings - Server - Agents - Movies - Plex Movie
+
Settings - Server - Agents - Movies - TheMovieDatabase

Then perform the Plex Dance with the full X:\Video\Family\Movies\Lego Batman The Movie folder.

@AmazingRando24 said:
If memory serves, and it’s been a while since I recall reading this… Something about “DC Universe” in the folder structure or title messes with matching. I don’t recall specifics, but I remember seeing the issue come up.

Yeah… it’s probably assumed its the director’s cut of The Lego Movie and grouped them as multiple versions of the same movie. Plex really needs to eliminate the abbreviation of DC for a director’s cut version. I have to unmatch and rematch and PlexDance every time I add a new movie based on DC comics.

Maybe @OttoKerner has a variation of the Plex Dance to use when Plex has decided to re-match the extras from one movie incorrectly with a new addition. We want to keep the extras, but lose the fake new items Plex thinks it has discovered during the update library process.

Thanks all. There are no tags in the files (I didn’t add any when I ripped, but I’ve just checked anyway) so I guess the magic of “DC” is the answer. It surprises me that Plex would consider the extras of a movie as possible movies themselves; I would have thought if a folder had a file in it of the same name then that would signal that the folder is dedicated to that movie (as opposed to being a folder which contains several movies), and therefore that subfolders are just extras and shouldn’t be scanned as primary items.

I will see if I can rename them in a way which isn’t too annoying and do the dance.

Do you have “Run a partial scan when changes are detected” enabled? That gets confused by extras.

I have occasionally had the partial scan get confused when adding a movie with extras, or adding extras after the fact. Never had it add extras as a new movie or match as multiple copies of a new addition.

@"MovieFan.Plex " — I would think this had to be a full scan, not a partial scan. Isn’t the whole point of the partial scan to just check folders and files that have changed? The folder for “the Lego Movie” and its extras shouldn’t even be in the equation, if I understand the process, because nothing changed in those folders. Hope you’re not suggesting we shouldn’t use partial scan.

Sticking to the idea that the annoying habit Plex has to consider DC as an abbreviation for Directors Cut is the real problem here. :wink:

The partial scan only looks at the content of the folder that changed, not the folder itself. So if you add an extra into an “extras” folder, the partial scan only sees the file and doesn’t know it’s an extra. So in this case each of those extras with a partial scan will be treated as a movie. Since these don’t exists as a movie, they probabaly got merged with the closest title it found.

If you use the partial scan feature, using extras in the extras folder could cause issues. It would be better to use the inline method.

@leelynds said:
Sticking to the idea that the annoying habit Plex has to consider DC as an abbreviation for Directors Cut is the real problem here. :wink:

I have not heard of this issue. AFAIK, we don’t have anything to distinguish different cuts of a movie. I know we ignore some phrases in the filename to help those that don’t want to rename their files. I’ll have to see if DC is one of those.

The “DC” glitch has been reported several times, and I’m pretty sure there was at least one server update quite some time ago that claimed it fixed the problem. I think it did at the time, but the fix was eventually lost.

I’m sure you can replicate it… just add a movie title with DC in it, and Plex will almost certainly match it to one or two words in the title and add(Director's Cut) to the title. When you use fix match, it will bring up the fake tile, but when you change it to the correct title which contains the letters DC it matches with 100% probability. I don’t know if Plex has actually tried to identify it as a a completely separate version of the “not-directors’s cut”, because I always correct it immediately.

As to the scan issue in this case, the extras appear to be correctly identified as “Extras” for the movie (scenes from Lego Batman The Movie in a sub-folder) Plex should not try to re-match the files already correctly identified as extras to a previous match.

I think @OttoKerner and @“MovieFan.Plex” are assuming the extras for the Lego Batman movie were the most recently added files and either a partial or full scan might bring up those results. I’m assuming that The Lego Movie was the last file added, and neither type of scan should re-match the already correctly identified extras. Either way, I still believe its the “DC” in the filename trying to incorrectly match to a Director’s Cut.

@leelynds said:
I’m sure you can replicate it… just add a movie title with DC in it, and Plex will almost certainly match it to one or two words in the title and add (Director's Cut) to the title. When you use fix match, it will bring up the fake tile, but when you change it to the correct title which contains the letters DC it matches with 100% probability. I don’t know if Plex has actually tried to identify it as a a completely separate version of the “not-directors’s cut”, because I always correct it immediately.

I’ve got several things with DC in the title that were matched automatically. I don’t have anything that says “Director’s Cut”.

DC’s Legends of Tomorrow
Lego Batman: The Movie - DC Super Heroes Unite
LEGO DC Comics Super Heroes: Justice League: Cosmic Clash
LEGO DC Comics Super Heroes: Justice League: Attack of the Legion of Doom!
LEGO DC Comics Super Heroes: Justice League vs. Bizarro League
LEGO DC Comics Super Heroes: Justice League - Gotham City Breakout

As to the scan issue in this case, the extras appear to be correctly identified as “Extras” for the movie (scenes from Lego Batman The Movie in a sub-folder) Plex should not try to re-match the files already correctly identified as extras to a previous match.

If this is happening it is related to the bug I mentioned. Otherwise, a regular scan will not rematch an already matched item.

I think @OttoKerner and @“MovieFan.Plex” are assuming the extras for the Lego Batman movie were the most recently added files and either a partial or full scan might bring up those results. I’m assuming that The Lego Movie was the last file added, and neither type of scan should re-match the already correctly identified extras. Either way, I still believe its the “DC” in the filename trying to incorrectly match to a Director’s Cut.

Yes, I am assuming the extras were added later, or at least something changed resulting in that folder’s timestamp being updated so that the partial scan thought these are new files.

I found the previous discussion on the DC issue. I’ll see if it has any impact on this issue.

Thanks everyone. Your various answers have solved the problem for me. I renamed the extras to the “title-scene.ext” format and PlexDanced the movie; everything now works correctly and the additional false matches aren’t happening.

Before doing that I tried just PlexDancing without renaming and the problem recurred, so it wasn’t just the dance that fixed it. That also implies that it’s not caused by the extras being added later, but is happening when the movie and extras are added together, which may mean that the partial-scan behaviour isn’t at fault either.

My specific issue has been fixed, but it looks like there’s still something dodgy happening with the scanner. It does seem wrong that a given file can be considered both an extra for movie A and also an alternative file for movie B. Perhaps that suggests another possible code fix: once it’s been decided that a file is an extra, don’t try to match it as a movie too. (I don’t know what use cases there might be for a file serving more than one purpose, outside of multi-episode TV files, so I imagine it’s not as simple as that.)

I appreciate all the help!