Text

Push text with user-defined animation and attributes on a user-defined frame

CLI

text (text) (duration) (color) (size) (background color) (text alignment) (frame) (animate) (animate duration)

JSON

{"cmd":"text","msg":"(text)","duration":(duration),"color":"(color)","size":(size),"bgcolor":"(background color)","align":"(text
alignment)","frame":"(frame)","animate":"(animate)","aniduration":(animate duration),"bgcolor":"(background color)"}

Example

text HelloWorld! 30 black 3 white left text
text “Hello World!” 30 lime 4 yellow center main
{"cmd":"text","msg":"Hello World!","duration":30,"color":"lime":"size":4,"bgcolor":"white","align
":"left","frame":"t3","animate":"slide","aniduration":1,"bgcolor":"red "}

Note

  1. In CLI mode, if message contains ‘space’, use "" to enclose the message string

  2. (duration): unit is 'sec’, 0 means play till the end of the media file

  3. (frame): can be main, t1, t2, t3 or t4

  4. (animate): can be delay, fade, slide, left or right

  5. (animate duration): unit is ‘sec’

  6. (text alignment): can be left or center or right