Web Service Interface

From wiki.jriver.com
Revision as of 18:11, 25 May 2011 by Matt (talk | contribs)
Jump to navigation Jump to search

Overview

J. River Media Center 14 introduced a way for other programs to control the player. It can expose a REST based Web Service Interface. This is self documented by the server with an HTML (or WSDL) response. The documentation lists the commands available and the syntax for using them.

The web service is named MCWS (Media Core Web Service).

Running the Server

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.

Documentation of Functions

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:52199/MCWS/v1/doc (where 52199 is the port that Library Server is running on)

Connection using Access Keys

For more information on how to connect to the web service, use Access Keys, and manage authentication, read here: Web Service Connection

More

More on Interact