Starting the player from another application is certainly possible and I don’t see any problem with that. Create a .nxs file on the fly in a temporary location and feed it to the player. Remove the .nxs when the client exits. Feel free to ask in this forum would you find any option whose operation is not obvious. Consider that there is no plan to offer all options present in the nxs on the command line. This should not be a problem, given it’s just a file everybody can parse with 3 lines of shell code, but of course one can write a nxs generator using something like this.
Let me know if you are working on some open source project or have any idea on how to integrate or extend the NoMachine functionalities. If we consider it useful, we’ll be happy to sponsor your effort.