Announcing a new tool for plugin developers
Hi GuysI thought you might be interested in a new tool I released this week. It's a very simple command-line shell to explore and interact with your PMS servers which can be really handy as a lightweight client when developing your plugins.
Personally I code in emacs so the ability to have my terminal in split-screen mode with a psh instance in one pane and my editor in another is a real productivity booster - I don't need to keep jumping back and forward between a GUI and my editor all the time to test the features I'm adding.
One really cool feature of the shell is it's ability to read scripts non-interactively. This means you can write a sequence of commands to a text file (script) and then pass the script to psh and have it execute the contents. This is super-useful for performing the same sequence of events over-and-over, which I frequently find myself doing when I'm developing or testing some new functionality in a plugin. An example of this is pasted below:
<br />
jkp@KidA [09:30:51] [~/Development/Plex/plexshell.git] [master]-> % cat spotify-album-search.pms<br />
cd music/Spotify/Search/Albums<br />
Foo Fighters<br />
ls <br />
<br />
jkp@KidA [09:30:53] [~/Development/Plex/plexshell.git] [master]-> % psh spotify-album-search.pms<br />
..<br />
Wasting Light<br />
Greatest Hits<br />
Echoes, Silence, Patience & Grace<br />
Best Of You<br />
In Your Honour<br />
ONE BY ONE<br />
Foo FightersThe Colour And The Shape<br />
Rope<br />
Wheels<br />
There Is Nothing Left To Lose<br />
Echoes, Silence, Patience & Grace<br />
DOA<br />
The plugin homepage is [here](https://github.com/jkp/plexshell) or you can install it via pip - "pip install plexshell".
Hope some of you find it handy in your work.
Cheers
Jamie