Add a path during plugin development
Hi forum,I am still very new to Plex - and I like it more and more! Especially the extendability.
So I decided to start with a Plugin supporting Instagram (I will add it to the appropriate page to let other people know about it soon).
So here's my very first noob question about Plex plugin development: what is your "development best practise" when it comes to editing, testing and committing (Git) the files?
As I have setup a local Git repository I would like to edit the files in the same place as well. But when I want to test the plugin I need to (manually) copy the bundle into ~/Library/Application Support/Plex Media Server/Plug-ins (and yes, I am on a Mac).
Another possibility would be to edit in the Plex plugin directory itself, but then I would need to copy back my changes into my local Git repository (possibly overriding changes I made there in the meantime). Also not very optimal
So what I was searching for is a **possiblity to add a plugin search path to Plex Media Server** such that it would pick up my plugin in the (local) Git repository. That would allow me to edit and test at the same time, and later simply do a "commit".
Googling around I found out about PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR, but that seems 1. only supported on Linux and 2. seems to override the complete plugin path (but I want to *add* a path).
So how do you guys develop your plugins? :)
Thanks,
Oliver
