# new plugin developer

**URL:** <https://forums.plex.tv/t/new-plugin-developer/1307>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [March 24, 2009, 5:57am UTC](https://forums.plex.tv/t/new-plugin-developer/1307 "2009-03-24T05:57:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![flynfish](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@flynfish](https://forums.plex.tv/u/flynfish)\
**Post date:** [March 24, 2009, 5:57am UTC](https://forums.plex.tv/t/new-plugin-developer/1307/1 "2009-03-24T05:57:42Z")

</div>

Hi everyone,  
  
  
  
I am trying to create a new plugin but there is not much info on the wiki about how to do this(or maybe there is an I just couldn’t find it?) I looked at some existing .bundles from plugins I have installed already and I was going to modify the .py file to create my plugin. Here are my questions:

1. Is there a debug mode or some way to test the plugin I am creating  
2. Do I put the .bundle file somewhere for it to be available to Plex? I put it in Library/Application Support/Plex Media Server/ Site Configurations but that didn’t work.   
3. I am confused on whether I need to create the .bundle or whether I need to create a site config file. I saw someone mentioned the site config file needs to be .xml. If I need to create a site config, how do you end up with the .bundle file?  
  
  
  
Thanks for the help!

---

<div class="post-metadata">

**Author:** ![umciggy](https://avatars.discourse-cdn.com/v4/letter/u/f17d59/32.png) [@umciggy](https://forums.plex.tv/u/umciggy)\
**Post date:** [March 24, 2009, 11:45am UTC](https://forums.plex.tv/t/new-plugin-developer/1307/2 "2009-03-24T11:45:51Z")

</div>

Hi!  
  
  
  
For all I know:

1. Just create your own .bundle and your plug-in should appear in plex right away. No restarts or anything is needed. The media [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) output to the OS X console, so if nothing happens check Console.app for any messages.  
2. You should put the .bundle under Library/Application Support/Plex Media Server/Plug-ins  
3. You should create a site config xml file and put it in “Library/Application Support/Plex Media Server/Site Configurations”. See here for more info: [http://wiki.plexapp.com/index.php/Creating…ins\_Site\_Config](http://wiki.plexapp.com/index.php/Creating_Plugins_Site_Config)  
  
  
  
Cheers  
  
  
  
  
  
  
  
  

> [@](#):
>
> Hi everyone,  
>   
>   
>   
> I am trying to create a new plugin but there is not much info on the wiki about how to do this(or maybe there is an I just couldn’t find it?) I looked at some existing .bundles from plugins I have installed already and I was going to modify the .py file to create my plugin. Here are my questions:
> 
> 1. Is there a debug mode or some way to test the plugin I am creating  
> 2. Do I put the .bundle file somewhere for it to be available to Plex? I put it in Library/Application Support/Plex Media Server/ Site Configurations but that didn’t work.   
> 3. I am confused on whether I need to create the .bundle or whether I need to create a site config file. I saw someone mentioned the site config file needs to be .xml. If I need to create a site config, how do you end up with the .bundle file?  
>   
>   
>   
> Thanks for the help!

---

<div class="post-metadata">

**Author:** ![flynfish](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@flynfish](https://forums.plex.tv/u/flynfish)\
**Post date:** [March 24, 2009, 1:37pm UTC](https://forums.plex.tv/t/new-plugin-developer/1307/3 "2009-03-24T13:37:22Z")

</div>

Thanks neatneat,  
  
  
  
You are correct, I just needed to put the .bundle in the plugins folder. I am doing a photo plugin so I don’t think I need to have a site config, but please correct me if I am wrong about that.

---

<div class="post-metadata">

**Author:** ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)\
**Post date:** [March 24, 2009, 1:58pm UTC](https://forums.plex.tv/t/new-plugin-developer/1307/4 "2009-03-24T13:58:42Z")

</div>

> [@](#):
>
> Thanks neatneat,  
>   
>   
>   
> You are correct, I just needed to put the .bundle in the plugins folder. I am doing a photo plugin so I don’t think I need to have a site config, but please correct me if I am wrong about that.

  
That's right - site configs are only needed for sites with Flash or Silverlight video players :)

---

<div class="post-metadata">

**Author:** ![flynfish](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@flynfish](https://forums.plex.tv/u/flynfish)\
**Post date:** [March 24, 2009, 3:57pm UTC](https://forums.plex.tv/t/new-plugin-developer/1307/5 "2009-03-24T15:57:35Z")

</div>

Thanks, I added that info to the wiki for future users.

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [March 24, 2009, 7:57pm UTC](https://forums.plex.tv/t/new-plugin-developer/1307/6 "2009-03-24T19:57:33Z")

</div>

We are working on better documentation, I promise! We took all the feedback on the first version of the framework and will be releasing the next version shortly. Not to worry though, plug-ins written using the first version of the API will still continue to work perfectly.

---

<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:** [December 20, 2019, 8:24pm UTC](https://forums.plex.tv/t/new-plugin-developer/1307/7 "2019-12-20T20:24:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
