20 April 2015 - Apple TV outputs

appletv and appletv_43 are output formats based on advanced_hls with predefined sets of streams.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <output>[appletv|appletv_43]</output>
        <duration_precision>3</duration_precision>
        <stream>
            <!-- [Predefined set of streams](/AppleTVstreams) -->
        </stream>
        <main_source>
            <type>video</type>
        </main_source>
        <alternate_source>
            <type>audio</type>
            <audio_name>audio 1</audio_name>
        </alternate_source>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "output": "[appletv|appletv_43]",
            "duration_precision": "3",
            "stream": "  ",
            "main_source": {
                "type": "video"
            },
            "alternate_source": {
                "type": "audio",
                "audio_name": "audio 1"
            }
        }
    }
}
Field NameDescriptionAllowed ValuesDefault Values
Format params
outputappletv: preset for screens with 16:9 resolution
appletv_43: preset for screens with 4:3 resolution
duration_precisionSets number of decimal points for duration in playlist file.integer3
Stream params
List of predefined set of streams