EasyManua.ls Logo

Scala Player-SP - Page 76

Scala Player-SP
114 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SMPA Setup Guide
December 2, 2022 Scala, Inc. Page | 76
get_player_name(filename='netic.sca')
Retrieves the name of the Scala Player from config files.
Options:
filename Change path or filename to search.
Returns:
PlayerName, or not available message.
get_player_vers()
Retrieves the version of the Scala Player software from the Registry.
The former function name of get_plr_vers() is deprecated.
Returns:
version string or None if not found.
get_plr_vers = get_player_vers()
Retrieves the version of the Scala Player software from the Registry.
The former function name of get_plr_vers() is deprecated.
Returns:
version string or None if not found.
get_server_datetime(url, interval=60, tries=5)
Poor Man's NTP Sync; asks for the Date header from an HTTP Server.
Arguments:
url URL to perform a HEAD request on.
Returns:
Date string compatible with set_datetime() (RFC2822).
Options:
interval On error, how long to wait in secs to try again.
tries On error, how many attempts before giving up.
get_vnc_hash(password)
Given a password, return a UltraVNC compatible hash from its first
eight chars.
Arguments:
password
Returns:
hash string.
Requires:
d3des module to be available.
http://vnc2flv.googlecode.com/svn-history/r2/trunk/vnc2flv/vnc2flv/d3des.py

Table of Contents

Related product manuals