]> git.sesse.net Git - casparcg/blob - source/amcp/data-commands.rst
(no commit message)
[casparcg] / source / amcp / data-commands.rst
1 *************\r
2 Data Commands\r
3 *************\r
4 The DATA Commands are convenient to use when you have large datasets that might not be available at broadcast-time. \r
5 DATA allows you to store a dataset on the CasparCG Server and assign it to a much shorter name. This name can then be used to recall the data when displaying a template graphic.\r
6 \r
7 ==========\r
8 DATA STORE\r
9 ==========\r
10 Stores the dataset data under the name name.\r
11 \r
12 Syntax::\r
13 \r
14         DATA STORE [name:string] [data:string]\r
15                 \r
16 Example::\r
17 \r
18         >> DATA STORE my_data "Some useful data"\r
19         \r
20 =============\r
21 DATA RETRIEVE\r
22 =============\r
23 Returns the data saved under the name *name*.\r
24 \r
25 Syntax::\r
26 \r
27         DATA RETRIEVE [name:string]\r
28                 \r
29 Example::\r
30 \r
31         >> DATA RETRIEVE my_data\r
32         << "Some usefule data"\r
33         \r
34 =========\r
35 DATA LIST\r
36 =========\r
37 \r
38 Syntax::\r
39 \r
40         DATA LIST\r
41 \r
42 Example::\r
43 \r
44         >> DATA LIST\r
45         << my_data