Easiest way to test during development

So I am developing a channel, and when I am doing so, I just got to the Plug-ins directory, “Show Package Content” of the bundle I am working on, and go to town.



My question is:

What is the quickest way to test as I am developing?



I typically:

  1. Write or edit a few lines of code
  2. Refresh Media Server
  3. Launch Plex
  4. And see if all my changes worked
  5. Quit Plex… And repeat



    Is all this necessary? Can I just leave the app open? What is the best and quickest way to test as I code?



    I also noticed my art isn’t changing… Is there something else outside my bundle I need to edit or refresh?



    Thanks for the help!


Generally, I just edit lines of code, and then hit refresh in a browser (or back up and then go down into the channel again in Plex). No need to restart PMS or Plex. PMS automatically detects changes in the plug-in and restarts it for you.

If you’re on a Mac, see here: http://forums.plexapp.com/index.php/topic/33564-plugin-path/page__view__findpost__p__213633



Not sure whether that also works on Linux… (because on a Mac a “bundle” is really some special folder and hence the changes apparently get “propagated over the symlink” to that bundle. Not sure whether that works on Linux - give it a try!)



But I wouldn’t know about the artwork/resources… but the most “iterations” you probably do on your Python code anyway.



Cheers, Oliver


Thanks for a link, I will certainly check it out. I am indeed on a Mac. I have been mostly messing with the Python file.

As for the art, it still hasn't updated with the plug-in after about 2 weeks.

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