Web Service Interface: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
You must first start Library Server in MC. If you are running Media Server, this will still be available even after you exit MC. See our Wiki entry on [http://wiki.jrmediacenter.com/index.php/Servers Servers] for more about this. |
You must first start Library Server in MC. If you are running Media Server, this will still be available even after you exit MC. See our Wiki entry on [http://wiki.jrmediacenter.com/index.php/Servers Servers] for more about this. |
||
Once the server is running, use a web browser to view the documentation. The command is: |
Once the server is running, use a web browser to view the documentation. The command is:<br /> |
||
http://[library server address]/MCWS/v1/doc |
http://[library server address]/MCWS/v1/doc |
||
To view the documentation in [http://www.w3.org/TR/wsdl WSDL] format, use: |
To view the documentation in [http://www.w3.org/TR/wsdl WSDL] format, use:<br /> |
||
http://[library server address]/MCWS/v1/WSDL |
http://[library server address]/MCWS/v1/WSDL |
||
Revision as of 19:38, 23 June 2010
J. River Media Center 14 introduced a way for other programs to control the player. It can expose a Web Service Interface. This is self documented by the server with a HTML (or WSDL) response. The documentation just lists the commands available and the syntax for using them.
You must first start Library Server in MC. If you are running Media Server, this will still be available even after you exit MC. See our Wiki entry on Servers for more about this.
Once the server is running, use a web browser to view the documentation. The command is:
http://[library server address]/MCWS/v1/doc
To view the documentation in WSDL format, use:
http://[library server address]/MCWS/v1/WSDL
If you're on the same computer as the server, you can use: http://localhost:80/MCWS/v1/doc (where 80 is the port that Library Server is running on)
More on Interact