Plex server is changing the filenames and consequently not able to play a file

Hi,
I’m getting extremely frustrated with my plex server. I’ve been loading up some episodes of a TV program for my son. The first problem was that it just wouldn’t find the appropriate meta data, solved that my swapping from TVDB to IMDB. Now today I find that for some reason it has removed a space from the filename being stored (the filename on the disk is correct) and so can’t find the file to play / sync. e.g.

/share/multimedia/Video/TV/Ben 10/Season 01/Ben 10 - s01e01.mp4
/share/multimedia/Video/TV/Ben 10/Season 01/Ben 10- s01e02.mp4
/share/multimedia/Video/TV/Ben 10/Season 01/Ben 10 - s01e03.mp4

You will notice that the 2nd file is missing a space. I can guarantee that this is not the case with the files as they exist on the disk and if I access the files via file manager they are there and I can play them.

I can also state that this was working correctly 24 hours ago.

  1. how do I manually edit the info to correct this as I don’t want to remove and re add the files again
  2. how can I make this stop happening as I’ve now wasted hours trying to get a simple kids TV show to rip and I’m getting very frustrated with something which should be straightforward.

Running version 1.10.0.4523 on an intel based qnapp nas

Abandoning TVDB for IMDB isn’t even possible and abandoning TVDB for TMDB for TV Shows is an epic bad idea - that you’ll find out about with repeated failures and general bad juju.

The Title Field of MP4/M4V files very likely contains bogus info. Plex will read this info and prefer it over a perfect file name/structure borking your day, 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.

Eventually you’re gonna need to re-write a bundle Plex has already written to and in that case you’re gonna have to learn how to dance - when you discover that Refresh Metadata does absolutely nothing to actually Refresh the Metadata.

Renaming/restructuring is best performed OUTSIDE the library and one of these days (soon) you WILL need to write a new bundle for the show or movie so The Plex Dance® was invented:

The Plex Dance®:

  1. remove show/movie from library
  2. rescan library files
  3. empty trash
  4. clean bundles
    https://support.plex.tv/hc/en-us/articles/200392106-Library-Actions <— scan library files, empty trash, clean bundles
  5. bring names and structures into compliance/Move LMA/etc
  6. replace corrected show/movie into library
  7. rescan library files

All Steps. In Order. No Shortcuts.

Thank you Tony,
This is great and contains some pieces that I haven’t done yet (and I certainly haven’t done it all in that order)… I’ve even now found the “clean bundles” option at the library level…
Thanks again

Do yourself a favor early in your career.

Plex is like Hellish Children (not like yours, I’m sure - maybe your neighbor’s kids…). Take steps to have file names and folder structures in Plex Perfect condition BEFORE they go into a library and I can’t recommend FileBot highly enough (link in my signature). The Magic of FileBot will quickly be realized when it actually goes to the database in question and gets they name they use, naming your file perfectly (well, almost) for an instant match.

Plex steps in with Satan’s Spawn to undermine their ONLY TV Show database by defaulting all calls for shows with remakes to the most recent version requiring you (the hapless user) to inject a (YEAR) field into file names and structures - but FileBot can handle that as well (if you tell it to - check the second FileBot link in my signature).

Anywho - the more and better your prepare your media BEFORE it goes into the library - the better off you are.