new plugin developer

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!

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 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



    Cheers








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 :)

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

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.

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