# Metadata Agent development documentation

**URL:** <https://forums.plex.tv/t/metadata-agent-development-documentation/117633>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [October 3, 2015, 9:31pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633 "2015-10-03T21:31:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaptRamius](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/captramius/32/105500_2.png) [@CaptRamius](https://forums.plex.tv/u/CaptRamius)\
**Post date:** [October 3, 2015, 9:31pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/1 "2015-10-03T21:31:15Z")

</div>

I was wondering if anyone could point me towards any Metadata Agent development documentation?  
Specifically I’m looking for a quick way to test an Agent easily. Right now I have to reload the server and for whatever reason Plex’s interaction with the agent log breaks tail (didn’t even know that was possible), meaning each change requires multiple steps just find out a selected the wrong XPATH element.

---

<div class="post-metadata">

**Author:** ![SlrG](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/slrg/32/6208_2.png) [@SlrG](https://forums.plex.tv/u/SlrG)\
**Post date:** [October 4, 2015, 8:39pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/2 "2015-10-04T20:39:34Z")

</div>

It was once available here: [https://dev.plexapp.com/docs/agents/models.html](https://dev.plexapp.com/docs/agents/models.html), but access to that site seems to be broken now. Interest to support new agents or other development seems to be low. ☹ The old doc never got updated and now it seems to have been dropped completely. AFAIK there is no easy way to test your agent other than to recreate/rescan libraries when your code changes. Also if plex breaks completely you’ll have to restart it, to get anything working again. Sorry. ☹

---

<div class="post-metadata">

**Author:** ![ColdIce](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/coldice/32/113213_2.png) [@ColdIce](https://forums.plex.tv/u/ColdIce)\
**Post date:** [October 9, 2015, 12:48am UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/3 "2015-10-09T00:48:59Z")

</div>

Suggest you reading this. [http://www.devgrok.com/2015/03/developing-plex-media-server-plugins.html](http://www.devgrok.com/2015/03/developing-plex-media-server-plugins.html)  
You should be able to compile the python script. If it compiles, then the script is fine at least.

---

<div class="post-metadata">

**Author:** ![ZeroQI](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/zeroqi/32/6522_2.png) [@ZeroQI](https://forums.plex.tv/u/ZeroQI)\
**Post date:** [October 9, 2015, 9:28am UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/4 "2015-10-09T09:28:19Z")

</div>

> **[Plex Plug-ins](https://github.com/plexinc-plugins)**
>
> Plex Plug-ins has 30 repositories available. Follow their code on GitHub.

  
[https://forums.plex.tv/discussion/172923/plugin-development-documentation#latest](https://forums.plex.tv/discussion/172923/plugin-development-documentation#latest)

[https://forums.plex.tv/discussion/28084/plex-plugin-development-walkthrough](https://forums.plex.tv/discussion/28084/plex-plugin-development-walkthrough)  
[https://support.plex.tv/hc/en-us/articles/201169747-A-Beginner-s-Guide-to-v2-1](https://support.plex.tv/hc/en-us/articles/201169747-A-Beginner-s-Guide-to-v2-1)  
[https://forums.plex.tv/discussion/179414/objects-definition-and-usage](https://forums.plex.tv/discussion/179414/objects-definition-and-usage)

---

<div class="post-metadata">

**Author:** ![AndrewD2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/andrewd2/32/13399_2.png) [@AndrewD2](https://forums.plex.tv/u/AndrewD2)\
**Post date:** [October 13, 2015, 6:26pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/5 "2015-10-13T18:26:51Z")

</div>

@SlrG [https://web.archive.org/web/20150113085312/http://dev.plexapp.com/docs/agents/models.html](https://web.archive.org/web/20150113085312/http://dev.plexapp.com/docs/agents/models.html)

---

<div class="post-metadata">

**Author:** ![SlrG](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/slrg/32/6208_2.png) [@SlrG](https://forums.plex.tv/u/SlrG)\
**Post date:** [October 13, 2015, 8:55pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/6 "2015-10-13T20:55:28Z")

</div>

Thank you very much for the links. I’ll check them thoroughly for useful info. 🙂

---

<div class="post-metadata">

**Author:** ![AndrewD2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/andrewd2/32/13399_2.png) [@AndrewD2](https://forums.plex.tv/u/AndrewD2)\
**Post date:** [October 13, 2015, 10:31pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/7 "2015-10-13T22:31:17Z")

</div>

The wayback machine is awesome. I use it to find all kinds of old sites. Used it for some old Hero Games stuff (an RPG) that the owner of the site had taken down some 3-4 years ago, but was still in the archive anyways.

---

<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, 7:51pm UTC](https://forums.plex.tv/t/metadata-agent-development-documentation/117633/8 "2020-01-08T19:51:48Z")

</div>


