Previously, I used the PyLMS library (which is excellent) but I found that there some was some functionality missing. As a result, I ended up having to add my own code to get the desired outcome and I thought that I should try to put it all together into a library. The end result is my LMSTools library.

The main differences from PyLMS are:
  • Server and Player objects use the JSON interface rather than telnet (no need to maintain a persistent connection)
  • Add a callback server to handle asynchronous callback from server events
  • Adds the ability to generate squeezeplayer menus (for designing your own interface)


There is more detailed documentation available here: http://lmstools.readthedocs.io/

The library is available to download from here: https://github.com/elParaguayo/LMSTools

Any bugs, enhancement requests etc. can be posted here on the github issues tracker.

I hope it's of some use for your own projects. Enjoy!