SetServerConnectPassword
Syntax:
SetServerConnectPassword [password]
Classification:
Synchronous
Result Type:
No results
Responses:
OK
Example:
SetServerConnectPassword secret
SetServerConnectPassword: OK
SetServerConnectPassword sets the per-RCP session server connect password
variable to the password parameter. The password can be any string of text. If
the password parameter is not given, then the server connect password variable
is cleared.
The server connect password is used by the ServerConnect command when
connecting to a media server. An RCP client can tell if a server requires a
connection password by calling ServerConnect and receiving the
ConnectionFailedPassword error result. This result is also sent if the password
is incorrect.
Note that the password to a password-protected media server only needs to be
provided once during the boot session of the RCP host. The server can be
connected and disconnected subsequently without having to re-supply the
password.
Copyright© 2006 Roku, LLC
Page 26
www.rokulabs.com