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:
Is there a debug mode or some way to test the plugin I am creating
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.
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?
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.
You should put the .bundle under Library/Application Support/Plex Media Server/Plug-ins
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.
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.