incorrect match on two tv shows

I have a consistent problem with matching Shameless and The Flash. Shameless always matches as the UK version of the show. Naming convention for Shameless is Shameless.US.S07E05.720p.HDTV.X264-DIMENSION. Similarly, The Flash always matches to the 1990s tv show instead of the current show with it’s naming convention being The.Flash.2014.S03E04.720p.HDTV.X264-DIMENSION. The ironic thing about The Flash is that the 1990s series didn’t have a third season, yet it still matches to that. Any help with restructure of the naming convention or any other suggestions are welcome. Thanks!

Irony? Irony?

https://support.plex.tv/hc/en-us/categories/200028098-Media-Preparation

Shameless (US) : http://thetvdb.com/?tab=series&id=161511
A TV Show Library/
…Shameless (US)/
…Season 07/
…Shameless (US) - S07E05 - [put all the dots HDTVs X264 DIMENSION tags here so it don’t confuse Plex].XXX

and

The Flash (2014) : http://thetvdb.com/?tab=series&id=279121
A TV Show Library/
…Season 03/
…The Flash (2014) - S03E04 - [blablibladittidottoditdit dabling ling phooey].XXX

it’ll work fine.

FileBot - in my signature - can handle that for ya in seconds, but the bad news is it’ll leave out all the Bu*^S%^t.

Basically what @JuiceWSA said.

TV Series
…Shameless (US)/
…Season 07/
…Shameless (US)/ - S07E05 - Own Your Sh** - 720p HDTV.mkv

For flash you need to make sure the 2014 is included and name like so…

TV Series
…The Flash (2014)
…Season 03/
…The Flash (2014) - S03E04 - The New Rogues - 720p HDTV.mkv

Thanks guys!

How does this solve the problem? According to OP’s OP, the files were already named correctly. I’m having the same exact issue btw. Tonight’s episode of shameless matched to UK version. Mine are also named correctly already (shameless.(us).sXXeXX.everything.else.mkv) Any help please?

EDIT: btw, this is the first time this has happened. Previously, all episodes of this show have always matched correctly.

EDIT 2: the problem was with Sonarr. For some reason, it changed destination directory within the shows settings itself to simply “Shameless” leaving off the “(US)” part. I’ve manually changed it back. Now i just need to figure out why it did that and how to prevent it from happening again…