85
1
SW
8.
TP-CONTROL PLAYER JSON Commands PRODUCT OVERVIEW
JSON (JavaScript Object Notation) is a lightweight data-interchange format that
allows PLAYER ONE to communicate with third-party devices and platforms
, such as
EclerNet Manager. JSON is a text format that is completely language independent but uses
conventions that are familiar to programmers of the C-family of languages. Visit the official
website for more information:
•
The communication with can be established using Ethernet or WiFi and the TCP/IP
transport protocol, always by means of the
2003 TCP port
.
•
To check IP address, hold ENTER button for 2-3 seconds to enter admin menu.
•
To let some control systems (like CRESTRON®, EXTRON®, AMX®, RTI®, VITY®,
MEDIALON®, etc.) process the messages more easily, PLAYER ONE allows to the
end of each message with a CR (
\n
) -line feed, character 10-.
•
All commands answer {"result":true} (success) or {"result":false} (something failed)
8.1
PLAYER COMMANDS
SET PLAYER STEREO/MONO
Mono mode
{"jsonrpc":"2.0","method":"Player.Stereo","Stereo":false}
Stereo mode
{"jsonrpc":"2.0","method":"Player.Stereo","Stereo":true}
SET PLAYER FADE
No fade
{"jsonrpc":"2.0","method":"Player.Fade","Fade":0}
Cross Fade
{"jsonrpc":"2.0","method":"Player.Fade","Fade":1}
Fade
{"jsonrpc":"2.0","method":"Player.Fade","Fade":2}
SET PLAYER MODE
Player mode Sequential
{"jsonrpc":"2.0","method":"Player.Mode","PlayMode":0}
Player mode Random
{"jsonrpc":"2.0","method":"Player.Mode","PlayMode":1}
SET PLAYER REPEAT
Play all
{"jsonrpc":"2.0","method":"Player.Repeat","Repeat":0}
Play one
{"jsonrpc":"2.0","method":"Player.Repeat","Repeat":1}