Getting weird naming conventions

After I recently restored my NAS to defaults and start a fresh with that and my Plex I noticed the naming of video files weren’t correct, I follow this naming convention as per the Plex naming guide:

Stand-Alone Video Files

Movie media files can be contained in one or more folders. The structure isn’t important unless you have custom media (e.g. posters) for a particular movie. To correctly name a movie file, name it as follows:
◦MovieName (release year).ext
/Movies
Batman Begins (2005).mkv

So for example a file named:
All Things Must Pass The Rise and Fall of Tower Records (2015).mkv

Would be named in Plex as:
All.Things.Must.Pass.The.Rise.and.Fall.of.Tower.Records.(2015).mkv

Any ideas what could be causing it?

Plex never touches your original media so that naming change should be caused by something else :open_mouth:

I have noticed this occasionally in my files also. But only occasionally, not all. I just thought I had done something wrong.
Would love to know also.

Yeah, it’s not all of mine either. I’ve just looked a bit deeper at the files in question and I can see that if I right click them, go to properties and then the details tab they have a ‘Title’ with the added periods in, if I delete the ‘Title’ and refresh Plex it fixed it… so is there any way of stopping Plex from looking at that field or a way of batch deleting the ‘Title’ field of affected files? Not sure why this is an issue all of a sudden.

Oh now it’s clear: there’s metadata attached to that file. Embedded metadata is the best way to have Plex screw names and associations, you should strip all your files from that. Ususally if you drag the “local asset” scraper lower than the “TMDB” scraper (for example) in the library it should work, but sometimes local metadata just want to have it all and it’s better to eradicate them :smiley:

I have had this happen to me a few times with movies, i just fixed them manually through the edit option but would be nice to know why this happens

It happens because the file has an embedded metadata for the “title” of the movie, and even if Plex scrapes the correct metadata from TMDB or other sources, usually the embedded metadata has higher priority. You can fix it manually and lock the modification, but if you do a fresh install (and don’t migrate your plex data), at the new library scan the embedded metadata will pop up again

So is there a way to stop it using that metadata?

@jay2jay99 said:
So there’s to stop it using that metadata?

Just start with @zpaolo11x s first suggestion:
Lower ‘local media assets’ so it sits below the lines of the online metadata providers (TheTVDB, Freebase, TheMovieDB).
This will help already a great deal.

The alternative is to use mkvpropedit from mkvtoolnix to edit or better batch edit the offending files: https://mkvtoolnix.download/doc/mkvpropedit.html

I have this issue as well. The easy way to fix it is to turn off the local media agent under agents in the server settings. After you do this, refresh the movie and it will be fixed.

@pierce3215 said:
I have this issue as well. The easy way to fix it is to turn off the local media agent under agents in the server settings.

That’s the most radical way to do it, it works but AFAIK you’ll lose external subtitles (and maybe also embedded subtitles). Of course if you don’t have subtitles, or you’re using other subtitles scraper, that’s a good way

I managed to delete the titles fairly quickly from the effected files by adding a ‘Title’ column in explorer on the folder, any that show a title you just click and delete it at the bottom of the window.

Yes, on Windows this is by far the easiest method, especially because you can do it with several files at the same time.

@jay2jay99 said:
I managed to delete the titles fairly quickly from the effected files by adding a ‘Title’ column in explorer on the folder, any that show a title you just click and delete it at the bottom of the window.

I didn’t know it was possible in Explorer, good to know!

@zpaolo11x said:
I didn’t know it was possible in Explorer, good to know!

just mark one or several files in Windows file explorer,
then right-click,
Properties - Details
at the bottom ‘Remove Properties and Personal Information’

Or like I did here, click the file and just delete the title at the bottom. If you select multiple, you can change them but it doesn’t seem to allow you to delete multiple different entries, thinking about it now you could just select every movie file you have, put a ‘0’ or any other character in there, hit enter to save it and then delete that 0 and then save it again. That’ll wipe the ‘Title’ field from all of your files with just a few clicks :slight_smile: