SMPA Setup Guide
December 2, 2022 Scala, Inc. Page | 74
build_netic(outfname, endpoint='', plr_authstr='', player='', uuid='',
network='', baseurl='', **extra)
Builds the netic.sca file.
Arguments:
outfname Output filename, use find_config() to find it.
Options:
endpoint URL fragment containing host:port/path.
(DEPRECATED, see baseurl)
baseurl Pass CM Base URL, otherwise use command-line.
plr_authstr Scala Player credentials as a "user:pwd" string.
player Player's name.
uuid Identifier generated by Content Manager.
network Scala network.
Note:
Player passwords are not encrypted by this tool.
build_timing(outfname, datefmt=13, timefmt=1, weekdayfmt=0, **extra)
Builds the timing.sca file. Defaults to ISO descending datetime.
Arguments:
outfname Output filename, use find_config().
Options:
datefmt Date format as integer.
timefmt Time format as integer.
weekdayfmt Weekday format as integer.
find_config(filename='netic.sca')
Find path to the Scala config folder. Handles mmos.ini root data
folder modifications.
Options:
filename Filename to join with with config folder, or '' for
bare folder.
Returns:
Path string with optional filename attached.
None on error.
get_disk_sn()
Retrieves the serial number of the first fixed disk.
Returns:
Serial number or not available string.