I initially loaded episodes of Star Trek TOS and Stargate Sg1 and everything looked okay except when Season and episode where found in both shows it kept one but not the other. For example if both shows had S01ep01 both folders showed the Star Trek Episode and the SG1 episode was lost. So I renamed the SG1 episode and scanned library folders. The missing SG1 episode was now available but now the metadata was for a show called Aqua Teen Hunger Force , wtf? Not only that but all the Star Trek episodes were also renamed Aqua Teen Hunger Force. So when I added some more shows they also were named Aqua Teen Hunger Force. So now I have about 100-150 shows where the metadata has nothing to do with the actual files? How can I mass fix this if that is possible?
David
https://www.filebot.net
This app helps name them to Plex’s standard against the TVDB. It will help get your libraries ‘right’. And here’s the expression I use:
{ny.replace(’:’,’ -’)} - {S00E00} - {t.replace(’:’,’ -’)}
It will give you filenames like this:
Star Trek (1966) - S01E01 - The Man Trap.ext
Here’s the one I use:
{ny} - {s00e00} - {t}
two paths leading to the same village…
B)
Just in case these files are M4V/MP4…
FileBot (link in my signature) can handle the above naming and structuring for you automatically or manually in seconds.
What FileBot can’t do is remove possible embedded metadata in the Title Field of MP4/M4V files. Plex will read this (Bogus) info and prefer it over a perfect file name/structure (if you have any), but you can combat that situation by moving Local Media Assets to the bottom of every agent list you can find. All tabs in TV Shows and Movies here:
https://support.plex.tv/hc/en-us/articles/200241558-Agents
Just drag LMA to the bottom of the list and drop it. If you do have embedded metadata this will cure the issue, if you don’t it won’t matter. LMA will do what it has to from the bottom.
Renaming/restructuring is best performed OUTSIDE the library and you may need to write a new bundle for the show or movie so The Plex Dance® was invented:
The Plex Dance®:
- remove show/movie from library
- rescan library files
- empty trash
- clean bundles
https://support.plex.tv/hc/en-us/articles/200392106-Library-Actions <— scan library files, empty trash, clean bundles
- bring names and structures into compliance/Move LMA/etc
- replace corrected show/movie into library
- rescan library files
All Steps. In Order. No Shortcuts.