Moku model: Moku:Go
Operating system: macOS
Software version: 2.6.0
Bug or support request description:
Hi there, I saw that the latest Python API was posted to PyPI, so I installed it to try out the new streaming feature.
It looks like there’s a few issues that I have been having that I wanted to report:
- I think
MOKU_CLI_PATH
inmoku/helpers/converter.py
is not defined correctly, as it looks for the CLI of the moku by callingwhich mokucli
, but the cli is defined to be called simplymoku
, as defined in thesetup.py
- If I update that to look for
moku
, then the streaming code will try to callmoku convert --stdin --stdout
. However, the CLI (inmoku/cli.py
) does not have theconvert
function defined, so this command fails - I changed the entire call to call the
liconvert
executable that I can download from the website, and this seems to run the stream correctly, I’m still not entirely sure how to access the stream data though, as using theget_stream_data
method usually results in an error.- I’m guessing there will be some example code posted for this when the release is officially announced, and that’ll clear things up there
Let me know if I’m simply doing something wrong, looking forward to using the API streaming feature!