Scripting LMMS from Python

Anything that doesn't fit into other topics goes here!
Recently I asked about scripting FruityLoops or Reason from Python, which didn't turn up much.

Today I found LMMS, a free-software FruityLoops clone. So, similarly. Has anyone tried scripting this from Python (or similar)? Is there an API or wrapper for accessing its resources from outside?

If not, what would be the right approach to try writing one?
Charles74 wrote:
Fri Feb 08, 2019 4:17 am
Has anyone tried scripting this from Python (or similar)?
Not afaik
Is there an API or wrapper for accessing its resources from outside?
No
what would be the right approach to try writing one?
LMMS is completely c++ with qt5, and meant to stay like that.
Personally i am against scripting, because it opens for malicious usage, so injection points would not be applauded. Several has made 'add-ons', me included, where the XML styled MMP-file, is used as 'in-file', the add-on process the in-file, and produces a new out-file, with some modification. That you could definitively also make in python, and maby thats what you should be looking at?

Besides that, since you are new in Forum
Welcome Charles74!
Here are all important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
-A few rules and useful forum instructions