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:
Write or edit a few lines of code
Refresh Media Server
Launch Plex
And see if all my changes worked
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?
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.
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.