hi DrKNo, just starting python so not sure how to get this running and how to run the examples.py or intialise a server.
Have installed python in windows, ran and got pipenv installed.
Installing pymcws…
Adding pymcws to Pipfile's [packages]…
Installation Succeeded
Installing dependencies from Pipfile.lock (6f0e79)…
================================ 7/7 - 00:00:04
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Looking into the folder I just ran this from I only have Pipfile and Pipfile.lock.
So the next step to import pymcws as mcws where exactly do i enter this, this isn't a command so assume needs to go into a script?
Would be possible to get a simple example to run against so i can dig further into what this can do. E.g something like start play command
Eventually was hoping this method can communicate directly with MC via a custom remote web page, i dont want to stream anything but just look at running a html web page with a button to send a command to pymcws, so it plays or does something locally on the unit via the MCWS / mcc commands.
Tried the other remotes on jriver not exactly what I'm looking for, and not a programmer but looking here -
https://wiki.jriver.com/index.php/Web_Service_Connection this is exactly what i want in simple terms (looking at the code for pyMCWS on git here media_server.py you seem to have the working method and the comments there, just can't make this work to dig in further). Assume this is possible with the pyMCWS or should I be looking at something simpler?
Was trying to connect to the REST API via Jquery etc, not really understanding backend dev, can do frontend though.
Any help much appreciated.