# Store metadata in local files?

**URL:** <https://forums.plex.tv/t/store-metadata-in-local-files/214456>\
**Category:** General Discussions\
**Created:** [November 17, 2017, 11:36am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456 "2017-11-17T11:36:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevencas](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@stevencas](https://forums.plex.tv/u/stevencas)\
**Post date:** [November 17, 2017, 11:36am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/1 "2017-11-17T11:36:47Z")

</div>

Is it possible to store all metadata in local files within the folder of the media files?  
e.g  
movies/movie.2001.720p.blabla/poster  
/info  
/actors

The reason I ask is because it would be neat to be able to “sync” the metadata into the folders when the correct match is made, so I don’t need to worry about having wrong matches if I were to re-add the content later

---

<div class="post-metadata">

**Author:** ![57D](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/57d/32/18313_2.png) [@57D](https://forums.plex.tv/u/57D)\
**Post date:** [November 17, 2017, 6:42pm UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/2 "2017-11-17T18:42:45Z")

</div>

I had the same question. I have to say that for the moment is not possible, all the metadata are in the same place. You can have more information if you want to move a Plex media server :  
[https://support.plex.tv/hc/en-us/articles/201370363-Move-an-Install-to-Another-System](https://support.plex.tv/hc/en-us/articles/201370363-Move-an-Install-to-Another-System)

See you,  
A plex user.

---

<div class="post-metadata">

**Author:** ![stevencas](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@stevencas](https://forums.plex.tv/u/stevencas)\
**Post date:** [January 15, 2018, 12:39am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/3 "2018-01-15T00:39:36Z")

</div>

Different approach to the question:

Can I put information in the folder to make sure it is matched correctly?  
e.g. IMDB link in .nfo file

---

<div class="post-metadata">

**Author:** ![Kraevin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kraevin/32/96968_2.png) [@Kraevin](https://forums.plex.tv/u/Kraevin)\
**Post date:** [January 15, 2018, 1:59am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/4 "2018-01-15T01:59:36Z")

</div>

> @stevencas said:  
> Is it possible to store all metadata in local files within the folder of the media files?  
> e.g  
> movies/movie.2001.720p.blabla/poster  
> /info  
> /actors
> 
> The reason I ask is because it would be neat to be able to “sync” the metadata into the folders when the correct match is made, so I don’t need to worry about having wrong matches if I were to re-add the content later

[https://support.plex.tv/articles/200220677-local-media-assets-movies/](https://support.plex.tv/articles/200220677-local-media-assets-movies/)

---

<div class="post-metadata">

**Author:** ![stevencas](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@stevencas](https://forums.plex.tv/u/stevencas)\
**Post date:** [January 15, 2018, 6:17am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/5 "2018-01-15T06:17:02Z")

</div>

So, only for artwork - not additional info like plot\synpsis and so on?

---

<div class="post-metadata">

**Author:** ![NewPlaza](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/newplaza/32/128634_2.png) [@NewPlaza](https://forums.plex.tv/u/NewPlaza)\
**Post date:** [January 15, 2018, 6:39am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/6 "2018-01-15T06:39:24Z")

</div>

Well… With a little work and changes to the plex agents you could do this.

> **[Wrong Year Displayed for MP4 Movies](https://forums.plex.tv/discussion/comment/1575192/#Comment_1575192)**
>
> From what I can tell, using Scanner: Plex Movie Scanner and Agent: Personal Media seems to work fine. This is what I get…

---

<div class="post-metadata">

**Author:** ![stevencas](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@stevencas](https://forums.plex.tv/u/stevencas)\
**Post date:** [January 15, 2018, 8:42am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/7 "2018-01-15T08:42:28Z")

</div>

How exactly is it done?

---

<div class="post-metadata">

**Author:** ![NewPlaza](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/newplaza/32/128634_2.png) [@NewPlaza](https://forums.plex.tv/u/NewPlaza)\
**Post date:** [January 15, 2018, 9:45am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/8 "2018-01-15T09:45:51Z")

</div>

You have to add the metadata into the MP4 files.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [January 15, 2018, 12:09pm UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/9 "2018-01-15T12:09:32Z")

</div>

1. If there is a `.nfo` file present, Plex will search for the IMDb ID in it and use it additionally as a clue to find the right match. (This applies to movies only, and only if you have a subfolder on disk for each movie)

2. If you install the [.nfo importer agents](https://forums.plex.tv/discussion/38402/metadata-agents-for-exported-xbmc-library/p1#top ".nfo importer agents"), you can use Kodi-compatible `.nfo` files to supply other metadata as well.

3. plex will read many metadata from the embedded data in a mp4 / m4v file. You need to have the Local Media Assets agent active for this to work.

Side note: You can improve the chances of an impromptu correct match if you use the proper naming schema.  
NOT `movies/movie.2001.720p.blabla`  
BUT `movies/Movie Title (2001) - 720p.mkv`  
see [https://support.plex.tv/articles/200381023-naming-movie-files/](https://support.plex.tv/articles/200381023-naming-movie-files/)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 12:09am UTC](https://forums.plex.tv/t/store-metadata-in-local-files/214456/10 "2020-01-08T00:09:23Z")

</div>


