# Change filenames based on meta data

**URL:** <https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251>\
**Category:** Feature Suggestions\
**Created:** [September 29, 2015, 8:40pm UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251 "2015-09-29T20:40:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsab1989](https://avatars.discourse-cdn.com/v4/letter/i/9e8a1a/32.png) [@itsab1989](https://forums.plex.tv/u/itsab1989)\
**Post date:** [September 29, 2015, 8:40pm UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251/1 "2015-09-29T20:40:47Z")

</div>

Today I was setting up Plex with a friend of mine. It was completely new to him. So he ran into some little problems and had a lot of questions to ask.  
During our talk I had the idea of a quite little but maybe handy feature which could make it a bit easier to manage the media library.

When you add movies or tv shows to the plex library, the media agents usually do quite a good job in finding the correct meta data depending on how well the original files are named. If you build up your library over a long period of time you get a mismatch every now and then, but it is quite easy to correct that via the plex web interface and doesn’t take a lot of time.  
However if you want to set up a new server on another device with the same media files you run into the same naming conflicts again. That means you have to correct all the mismatches at once which is a little bit frustrating and can take you a lot of time.

That happened to me when I was moving my library from my iMac (which I used for plex many years) to my new Diskstation. There were so many movie files that weren’t matched correctly or not matched at all.  
So I took my time correcting the mismatches manually and gave the files on my harddrive a filename that matched the name of the movie title that the plex media agent suggested. This was quite a bit of work. But after that I just needed to refresh my library, plex recognized the name and all the files were matched correctly on the first try.

**So basically my idea is** that if plex can’t match a file and you correct that with the plex web interface, plex could simultaneously change the name of the file on the harddrive.  
That way the library would be much more organized and it would be easier to start from scratch with plex if you need to.

I just want to mention that I am from Germany and sometimes it’s a little hard for me to express my thoughts in English. But I hope you understand what I mean 🙂

Thanks in advance! I am looking forward to this feature! 🙂

Best wishes

Sebastian

---

<div class="post-metadata">

**Author:** ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)\
**Post date:** [September 29, 2015, 8:45pm UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251/2 "2015-09-29T20:45:13Z")

</div>

This has been requested several times before. Plex has a policy to not modify the original media files under any circumstance, so getting a built-in Plex feature is highly unlikely. A plug in would be possible, but it will have to be made by a 3rd party.

---

<div class="post-metadata">

**Author:** ![itsab1989](https://avatars.discourse-cdn.com/v4/letter/i/9e8a1a/32.png) [@itsab1989](https://forums.plex.tv/u/itsab1989)\
**Post date:** [September 29, 2015, 9:34pm UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251/3 "2015-09-29T21:34:07Z")

</div>

Well since I posted that feature request of course I have to defend it and tend to see things a bit differently. So please don’t be mad at me if I don’t agree with you completely.

I understand that they have this policy and can imagine why they have it as well.

But in this case the media itself wouldn’t be affected. The content wouldn’t change, just the name. Which I think could definetly improve the user experience (even if just slightly) and make it easier to organize the media files. And of course it could be an optional feature. So people wouldn’t be forced to use this.

---

<div class="post-metadata">

**Author:** ![PlexK](https://avatars.discourse-cdn.com/v4/letter/p/b5e925/32.png) [@PlexK](https://forums.plex.tv/u/PlexK)\
**Post date:** [September 29, 2015, 9:46pm UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251/4 "2015-09-29T21:46:08Z")

</div>

Ugh. The “P” word again. The ultimate stopping point for progress and thinking.  
Do keep in mind that someone human created that “policy” at some point with the information that person or multiple people had at that time and that available information or the interpretation and technical possibilities can change over time.  
While I do agree that Plex randomly changing file names or even moving files is a really, really bad idea, I don’t think it’s a bad idea to have a setting somewhere like “ask to rename files on mismatch/changes” where you can set if you want to be asked if Plex should change a file name or folder name if the respective information in the Plex database is manually modified so that the filename better represents the content in Plex’ view.  
Now, I probably wouldn’t be using it since I use the nfo agent and create my nfo files so that I don’t run into these issues and also that I have my data if I should switch away from Plex (I do have an Emby server running off the same nfo files right now - I needed it once when a Plex update broke transcoding of some files), but I can see how that feature could be beneficial to some Plex users to help name their files correctly.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [March 20, 2021, 2:58am UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251/5 "2021-03-20T02:58:58Z")

</div>

Early 2021 clean-up: duplicate

> [@automatic rename files](https://forums.plex.tv/t/automatic-rename-files/27216):
>
> Hi there. I just started to manage my library perfectly to plex especially for tv shows. I used filebot to rename all of my files to get the best matching experience, but most of my shows already include the name and some “S01E01” express. Wouldn’t it be nice if there would be an option within Plex after a correct match to click on a button and rename every single data after the tvdb match like filebot and some other renamed did? like to bring a file named “breaking.bad\_S01E01-pilot.AC3.HDRip.…

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [June 10, 2021, 12:45am UTC](https://forums.plex.tv/t/change-filenames-based-on-meta-data/117251/6 "2021-06-10T00:45:44Z")

</div>


