12 March 2020

Ignore Closed Captions Absence on Copy

Added option to ignore closed captions absence when <copy /> or <direct_copy /> set to yes.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[OutputFormat]</output> <!-- required-->
        <!-- Format params -->
        <closed_captions>
            <copy>[yes|no]</copy>
            <direct_copy>[yes|no]</direct_copy>
            <ignore_cc_absence>[yes|no]</ignore_cc_absence>
        </closed_captions>
        <!-- Multiple closed captions params may be included in output format -->
        <closed_captions>
            <!-- closed captions params -->
        </closed_captions>
    </format></query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[OutputFormat]", // required
          	// Format params
            "closed_captions": [
                {
                    "copy": "[yes|no]",
                    "direct_copy": "[yes|no]",
                    "ignore_cc_absence": "[yes|no]"
                },
                {
                    // closed captions params
                }
            ]
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
ignore_cc_absenceIgnore closed captions absence in a source file while copy or direct_copy closed captions.yes, noyes