3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml">
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11 <title>9. Query Commands — CasparCG 2.0 documentation</title>
13 <link rel="stylesheet" href="../_static/default.css" type="text/css" />
14 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
16 <script type="text/javascript">
17 var DOCUMENTATION_OPTIONS = {
20 COLLAPSE_INDEX: false,
25 <script type="text/javascript" src="../_static/jquery.js"></script>
26 <script type="text/javascript" src="../_static/underscore.js"></script>
27 <script type="text/javascript" src="../_static/doctools.js"></script>
28 <script type="text/javascript" src="../_static/sidebar.js"></script>
29 <link rel="search" type="application/opensearchdescription+xml"
30 title="Search within CasparCG 2.0 documentation"
31 href="../_static/opensearch.xml"/>
32 <link rel="author" title="About these documents" href="../about.html" />
33 <link rel="copyright" title="Copyright" href="../copyright.html" />
34 <link rel="top" title="CasparCG 2.0 documentation" href="../index.html" />
35 <link rel="up" title="AMCP 2.0 Reference" href="index.html" />
36 <link rel="next" title="10. Misc Commands" href="misc-commands.html" />
37 <link rel="prev" title="8. Mixer Commands" href="mixer-commands.html" />
45 <li class="right" style="margin-right: 10px">
46 <a href="../genindex.html" title="General Index"
47 accesskey="I">index</a></li>
49 <a href="misc-commands.html" title="10. Misc Commands"
50 accesskey="N">next</a> |</li>
52 <a href="mixer-commands.html" title="8. Mixer Commands"
53 accesskey="P">previous</a> |</li>
54 <li><a href="../index.html">CasparCG 2.0 documentation</a> »</li>
56 <li><a href="index.html" accesskey="U">AMCP 2.0 Reference</a> »</li>
60 <div class="document">
61 <div class="documentwrapper">
62 <div class="bodywrapper">
65 <div class="section" id="query-commands">
66 <h1>9. Query Commands<a class="headerlink" href="#query-commands" title="Permalink to this headline">¶</a></h1>
67 <div class="section" id="cinf">
68 <h2>9.1. CINF<a class="headerlink" href="#cinf" title="Permalink to this headline">¶</a></h2>
69 <p>Returns information about a mediafile.</p>
71 <div class="highlight-python"><div class="highlight"><pre><span class="n">CINF</span> <span class="p">[</span><span class="n">filename</span><span class="p">:</span><span class="n">string</span><span class="p">]</span>
75 <div class="highlight-python"><pre>>> CINF movie
79 <div class="section" id="cls">
80 <h2>9.2. CLS<a class="headerlink" href="#cls" title="Permalink to this headline">¶</a></h2>
81 <p>Lists all media files.</p>
83 <div class="highlight-python"><div class="highlight"><pre><span class="n">CLS</span>
87 <div class="highlight-python"><pre>>> CLS
91 <div class="section" id="tls">
92 <h2>9.3. TLS<a class="headerlink" href="#tls" title="Permalink to this headline">¶</a></h2>
93 <p>Lists all template files.</p>
95 <div class="highlight-python"><div class="highlight"><pre><span class="n">TLS</span>
99 <div class="highlight-python"><pre>>> TLS
103 <div class="section" id="version">
104 <h2>9.4. VERSION<a class="headerlink" href="#version" title="Permalink to this headline">¶</a></h2>
105 <p>Returns the version of specified component.</p>
107 <div class="highlight-python"><pre> VERSION SERVER
109 VERSION TEMPLATEHOST</pre>
112 <div class="highlight-python"><pre>>> VERSION
114 >> VERSION FLASH
118 <div class="section" id="info">
119 <h2>9.5. INFO<a class="headerlink" href="#info" title="Permalink to this headline">¶</a></h2>
120 <p>Returns xml-formatted information about the server.</p>
121 <p>INFO TEMPLATE: Reads meta-data from a flash-template.
122 INFO PATHS: Returns configured paths.
123 INFO SYSTEM: Returns information about the system.
124 INFO CONFIG: Return the configuration.
125 INFO: Returns a list of channels (not xml-formatted due to compatibility issues with older clients).
126 INFO 1: Returns information about specified channl.
127 INFO 1-1: Returns information about specified layer.
128 CG 1 INFO Returns information about flash-producer running on specified channel.</p>
130 <div class="highlight-python"><pre>INFO TEMPLATE [filename:string]
136 INFO [channel:int]-[layer:int]
137 CG [channel:int] INFO</pre>
140 <div class="highlight-python"><pre>>> INFO
146 >> INFO TEMPLATE my_table_template
156 <div class="sphinxsidebar">
157 <div class="sphinxsidebarwrapper">
158 <h3><a href="../contents.html">Table Of Contents</a></h3>
160 <li><a class="reference internal" href="#">9. Query Commands</a><ul>
161 <li><a class="reference internal" href="#cinf">9.1. CINF</a></li>
162 <li><a class="reference internal" href="#cls">9.2. CLS</a></li>
163 <li><a class="reference internal" href="#tls">9.3. TLS</a></li>
164 <li><a class="reference internal" href="#version">9.4. VERSION</a></li>
165 <li><a class="reference internal" href="#info">9.5. INFO</a></li>
170 <h4>Previous topic</h4>
171 <p class="topless"><a href="mixer-commands.html"
172 title="previous chapter">8. Mixer Commands</a></p>
174 <p class="topless"><a href="misc-commands.html"
175 title="next chapter">10. Misc Commands</a></p>
177 <ul class="this-page-menu">
178 <li><a href="../bugs.html">Report a Bug</a></li>
179 <li><a href="../_sources/amcp/query-commands.txt"
180 rel="nofollow">Show Source</a></li>
183 <div id="searchbox" style="display: none">
184 <h3>Quick search</h3>
185 <form class="search" action="../search.html" method="get">
186 <input type="text" name="q" />
187 <input type="submit" value="Go" />
188 <input type="hidden" name="check_keywords" value="yes" />
189 <input type="hidden" name="area" value="default" />
191 <p class="searchtip" style="font-size: 90%">
192 Enter search terms or a module, class or function name.
195 <script type="text/javascript">$('#searchbox').show(0);</script>
198 <div class="clearer"></div>
200 <div class="related">
203 <li class="right" style="margin-right: 10px">
204 <a href="../genindex.html" title="General Index"
207 <a href="misc-commands.html" title="10. Misc Commands"
210 <a href="mixer-commands.html" title="8. Mixer Commands"
212 <li><a href="../index.html">CasparCG 2.0 documentation</a> »</li>
214 <li><a href="index.html" >AMCP 2.0 Reference</a> »</li>
218 © <a href="../copyright.html">Copyright</a> 2011, Robert Nagy (ronag89@gmail.com).
220 <a href="http://www.python.org/psf/donations/">Please donate.</a>
222 Last updated on Mar 13, 2012.
223 <a href="../bugs.html">Found a bug</a>?
225 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.2.