mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2026-01-02 01:40:49 +00:00
More doc work
This commit is contained in:
74
docs/source/cli_reference.rst
Normal file
74
docs/source/cli_reference.rst
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
Command-Line Reference
|
||||||
|
======================
|
||||||
|
|
||||||
|
Usage Form
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Invocations of ptulsconv take the following form:
|
||||||
|
|
||||||
|
ptulsconv [options] IN_FILE
|
||||||
|
|
||||||
|
|
||||||
|
Flags
|
||||||
|
-----
|
||||||
|
|
||||||
|
`-h`, `--help`:
|
||||||
|
Show the help message.
|
||||||
|
|
||||||
|
`f FMT`, `--format=FMT`:
|
||||||
|
Select the output format. By default this is `doc`, which will
|
||||||
|
generate :ref:`ADR reports<adr-reports>`.
|
||||||
|
|
||||||
|
The :ref:`other available options<alt-output-options>`
|
||||||
|
are `raw` and `tagged`.
|
||||||
|
|
||||||
|
|
||||||
|
Informational Options
|
||||||
|
"""""""""""""""""""""
|
||||||
|
|
||||||
|
These options display information and exit without processing any
|
||||||
|
input documents.
|
||||||
|
|
||||||
|
`--show-formats`:
|
||||||
|
Display information about available output formats.
|
||||||
|
|
||||||
|
`--show-available-tags`:
|
||||||
|
Display information about tags that are used by the
|
||||||
|
report generator.
|
||||||
|
|
||||||
|
|
||||||
|
.. _alt-output-options:
|
||||||
|
|
||||||
|
Alternate Output Formats
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
.. _raw-output:
|
||||||
|
|
||||||
|
`raw` Output
|
||||||
|
""""""""""""
|
||||||
|
|
||||||
|
The "raw" output format is a JSON document of the parsed input data.
|
||||||
|
|
||||||
|
The document is a top-level dictionary with keys for the main sections of the text export: `header`,
|
||||||
|
`files`, `clips`, `plugins`, `tracks` and `markers`, and the values for these are a list of section
|
||||||
|
entries, or a dictionary of values, in the case of `header`.
|
||||||
|
|
||||||
|
The text values of each record and field in the text export is read and output verbatim, no further
|
||||||
|
processing is done.
|
||||||
|
|
||||||
|
.. _tagged-output:
|
||||||
|
|
||||||
|
`tagged` Output:
|
||||||
|
""""""""""""""""
|
||||||
|
|
||||||
|
The "tagged" output format is also a JSON document based on the parsed input data, after the additional
|
||||||
|
step of processing all of the :ref:`tags<tags>` in the document.
|
||||||
|
|
||||||
|
The document is a top-level array of dictionaries, one for each recognized ADR spotting clip in the
|
||||||
|
session. Each dictionary has a `clip_name`, `track_name` and `session_name` key, a `tags` key that
|
||||||
|
contains a dictionary of every parsed tag (after applying tags from all tracks and markers), and a
|
||||||
|
`start` and `end` key. The `start` and `end` key contain the parsed timecode representations of these
|
||||||
|
values in rational number form, as a dictionary with `numerator` and `denominator` keys.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
.. _adr-reports:
|
||||||
|
|
||||||
For ADR Report Generation
|
For ADR Report Generation
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|||||||
@@ -6,17 +6,22 @@
|
|||||||
Welcome to ptulsconv's documentation!
|
Welcome to ptulsconv's documentation!
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
`ptulsconv` is a tool for converting Pro Tools text exports into PDF
|
||||||
|
reports for ADR spotting. It can also be used for converting text
|
||||||
|
exports into JSON documents for processing by other applications.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:numbered:
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
:caption: Contents:
|
:caption: Contents:
|
||||||
|
|
||||||
quickstart
|
quickstart
|
||||||
tagging
|
tagging
|
||||||
for_adr
|
for_adr
|
||||||
|
cli_reference
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
* :ref:`genindex`
|
* :ref:`genindex`
|
||||||
* :ref:`modindex`
|
|
||||||
* :ref:`search`
|
* :ref:`search`
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
.. _tags:
|
||||||
|
|
||||||
Tagging
|
Tagging
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user