Web Service Connection: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
To connect to the Web Service, J. River recommends the following flow. Please note that [[Gizmo]] uses a similar approach.
To connect to the Web Service, J. River recommends the following flow. Please note that [[Gizmo]] uses a similar approach.


# Ask the user for an access key
# Ask the user for an Access Key.<br />An Access Key will be six case-sensitive letters. No digits or symbols are used.
An access key will be six case-sensitive letters. No digits or symbols are used.

# Lookup server address from Access Key

Call the web service (replace [Access Key] with the actual access key):<br />
http://webplay.jriver.com/libraryserver/lookup?id=[Access Key]

It is recommended that you use a short timeout.

# Optionally wake computers
Loop the IP addresses returned and send a wake request to each MAC address returned.

# Try connecting to each IP address

Revision as of 18:16, 25 May 2011

To connect to the Web Service, J. River recommends the following flow. Please note that Gizmo uses a similar approach.

  1. Ask the user for an access key

An access key will be six case-sensitive letters. No digits or symbols are used.

  1. Lookup server address from Access Key

Call the web service (replace [Access Key] with the actual access key):
http://webplay.jriver.com/libraryserver/lookup?id=[Access Key]

It is recommended that you use a short timeout.

  1. Optionally wake computers

Loop the IP addresses returned and send a wake request to each MAC address returned.

  1. Try connecting to each IP address