EasyManua.ls Logo

Scala Player-SP - Appendix VI: Automated;Scripted Player Configuration; Scalaprov.py (ONLY SUPPORTED for the 32-Bit Scala Enterprise Player!)

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 | 73
Appendix VI: Automated/Scripted Player Configuration
The Windows Operating System parameters and Scala Enterprise Player software configuration can be, in large
part, automated using various scripting tools. Scripted Media Player configuration are often implemented using
PowerShell, Python, the Windows CMD Command Prompt, or even “VisualBasic”!
The specific choice of scripting language is generally immaterial to the task and often is selected simply on the
“familiarity/comfort-level” of the author with the various tools. Often, Player automation frameworks will employ
components written in several different scripting, or compiled, languages.
The default Player installation, (32-bit Player ONLY), includes a useful tool, ScalaProv.py. This is a script written in
Python for effecting many of the common system changes that are required when deploying a Digital Signage
Media Player.
ScalaProv.py (ONLY SUPPORTED FOR THE 32-bit Scala Enterprise Player!)
scalaprov.py - (C) 2009-2015 Scala, Mike Miller
A toolbox to automate the provisioning of Scala Players.
Place in the lib/site-packages folder of your Scala for Python installation.
Command line usage:
%prog [options] [-h for help]
Examples:
# Create a new player via webservices, assign it:
scalaprov.py -a usr:pwd -b http://myco.com:8080/ContentManager/ -n MyCo
--build-netic --create "%COMPUTERNAME%" --channel Demo
--auto-display
# (Re-)Assign an existing player w/o webservices and restart
scalaprov.py -u usr:pwd -b http://myco.com:8080/ContentManager/ -n MyCo
--query-name --build-netic --sync-time --restart-svc
Modules
logging
os
scws
scws2
win32com.shell.shell
win32com.shell.shellc
on
scalalib
scalatools
sys
time
traceback
urllib2
win32_unicode_argv
win32com

Table of Contents

Related product manuals