# AddDownloadQueueItemsRequest


## Fields

| Field                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Type                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Required                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts`                                                                                                                                                                                                                                                                                                                                                                                                                                                  | [Optional\<Accepts>](../../models/shared/Accepts.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates the client accepts the indicated media types                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `clientIdentifier`                                                                                                                                                                                                                                                                                                                                                                                                                                         | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | An opaque identifier unique to the client                                                                                                                                                                                                                                                                                                                                                                                                                  | abc123                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `product`                                                                                                                                                                                                                                                                                                                                                                                                                                                  | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The name of the client product                                                                                                                                                                                                                                                                                                                                                                                                                             | Plex for Roku                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `version`                                                                                                                                                                                                                                                                                                                                                                                                                                                  | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The version of the client application                                                                                                                                                                                                                                                                                                                                                                                                                      | 2.4.1                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `platform`                                                                                                                                                                                                                                                                                                                                                                                                                                                 | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The platform of the client                                                                                                                                                                                                                                                                                                                                                                                                                                 | Roku                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `platformVersion`                                                                                                                                                                                                                                                                                                                                                                                                                                          | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The version of the platform                                                                                                                                                                                                                                                                                                                                                                                                                                | 4.3 build 1057                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `device`                                                                                                                                                                                                                                                                                                                                                                                                                                                   | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | A relatively friendly name for the client device                                                                                                                                                                                                                                                                                                                                                                                                           | Roku 3                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `model`                                                                                                                                                                                                                                                                                                                                                                                                                                                    | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | A potentially less friendly identifier for the device model                                                                                                                                                                                                                                                                                                                                                                                                | 4200X                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `deviceVendor`                                                                                                                                                                                                                                                                                                                                                                                                                                             | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The device vendor                                                                                                                                                                                                                                                                                                                                                                                                                                          | Roku                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `deviceName`                                                                                                                                                                                                                                                                                                                                                                                                                                               | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | A friendly name for the client                                                                                                                                                                                                                                                                                                                                                                                                                             | Living Room TV                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `marketplace`                                                                                                                                                                                                                                                                                                                                                                                                                                              | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The marketplace on which the client application is distributed                                                                                                                                                                                                                                                                                                                                                                                             | googlePlay                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `queueId`                                                                                                                                                                                                                                                                                                                                                                                                                                                  | *long*                                                                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                                                                                                                         | The queue id                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `keys`                                                                                                                                                                                                                                                                                                                                                                                                                                                     | List\<*String*>                                                                                                                                                                                                                                                                                                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Keys to add                                                                                                                                                                                                                                                                                                                                                                                                                                                | [<br/>"/library/metadata/3",<br/>"/library/metadata/6"<br/>]                                                                                                                                                                                                                                                                                                                                                                                               |
| `advancedSubtitles`                                                                                                                                                                                                                                                                                                                                                                                                                                        | [Optional\<AdvancedSubtitles>](../../models/shared/AdvancedSubtitles.md)                                                                                                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates how incompatible advanced subtitles (such as ass/ssa) should be included: * 'burn' - Burn incompatible advanced text subtitles into the video stream * 'text' - Transcode incompatible advanced text subtitles to a compatible text format, even if some markup is lost<br/>                                                                                                                                                                     | burn                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `audioBoost`                                                                                                                                                                                                                                                                                                                                                                                                                                               | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Percentage of original audio loudness to use when transcoding (100 is equivalent to original volume, 50 is half, 200 is double, etc)                                                                                                                                                                                                                                                                                                                       | 50                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `audioChannelCount`                                                                                                                                                                                                                                                                                                                                                                                                                                        | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Target video number of audio channels.                                                                                                                                                                                                                                                                                                                                                                                                                     | 5                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `autoAdjustQuality`                                                                                                                                                                                                                                                                                                                                                                                                                                        | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates the client supports ABR.                                                                                                                                                                                                                                                                                                                                                                                                                         | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `autoAdjustSubtitle`                                                                                                                                                                                                                                                                                                                                                                                                                                       | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates if the server should adjust subtitles based on Voice Activity Data.                                                                                                                                                                                                                                                                                                                                                                              | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `directPlay`                                                                                                                                                                                                                                                                                                                                                                                                                                               | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates the client supports direct playing the indicated content.                                                                                                                                                                                                                                                                                                                                                                                        | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `directStream`                                                                                                                                                                                                                                                                                                                                                                                                                                             | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates the client supports direct streaming the video of the indicated content.                                                                                                                                                                                                                                                                                                                                                                         | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `directStreamAudio`                                                                                                                                                                                                                                                                                                                                                                                                                                        | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates the client supports direct streaming the audio of the indicated content.                                                                                                                                                                                                                                                                                                                                                                         | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `disableResolutionRotation`                                                                                                                                                                                                                                                                                                                                                                                                                                | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates if resolution should be adjusted for orientation.                                                                                                                                                                                                                                                                                                                                                                                                | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `hasMDE`                                                                                                                                                                                                                                                                                                                                                                                                                                                   | [Optional\<BoolInt>](../../models/shared/BoolInt.md)                                                                                                                                                                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Ignore client profiles when determining if direct play is possible. Only has an effect when directPlay=1 and both mediaIndex and partIndex are specified and neither are -1                                                                                                                                                                                                                                                                                | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `location`                                                                                                                                                                                                                                                                                                                                                                                                                                                 | [Optional\<Location>](../../models/shared/Location.md)                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Network type of the client, can be used to help determine target bitrate.                                                                                                                                                                                                                                                                                                                                                                                  | wan                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `mediaBufferSize`                                                                                                                                                                                                                                                                                                                                                                                                                                          | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Buffer size used in playback (in KB). Clients should specify a lower bound if not known exactly. This value could make the difference between transcoding and direct play on bandwidth constrained networks.                                                                                                                                                                                                                                               | 102400                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `mediaIndex`                                                                                                                                                                                                                                                                                                                                                                                                                                               | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Index of the media to transcode. -1 or not specified indicates let the server choose.                                                                                                                                                                                                                                                                                                                                                                      | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `musicBitrate`                                                                                                                                                                                                                                                                                                                                                                                                                                             | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Target bitrate for audio only files (in kbps, used to transcode).                                                                                                                                                                                                                                                                                                                                                                                          | 5000                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `offset`                                                                                                                                                                                                                                                                                                                                                                                                                                                   | *Optional\<Double>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Offset from the start of the media (in seconds).                                                                                                                                                                                                                                                                                                                                                                                                           | 90.5                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `partIndex`                                                                                                                                                                                                                                                                                                                                                                                                                                                | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Index of the part to transcode. -1 or not specified indicates the server should join parts together in a transcode                                                                                                                                                                                                                                                                                                                                         | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `path`                                                                                                                                                                                                                                                                                                                                                                                                                                                     | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Internal PMS path of the media to transcode.                                                                                                                                                                                                                                                                                                                                                                                                               | /library/metadata/151671                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `peakBitrate`                                                                                                                                                                                                                                                                                                                                                                                                                                              | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Maximum bitrate (in kbps) to use in ABR.                                                                                                                                                                                                                                                                                                                                                                                                                   | 12000                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `photoResolution`                                                                                                                                                                                                                                                                                                                                                                                                                                          | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Target photo resolution.                                                                                                                                                                                                                                                                                                                                                                                                                                   | 1080x1080                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `protocol`                                                                                                                                                                                                                                                                                                                                                                                                                                                 | [Optional\<Protocol>](../../models/shared/Protocol.md)                                                                                                                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates the network streaming protocol to be used for the transcode session: * 'http' - include the file in the http response such as MKV streaming * 'hls' - hls stream (RFC 8216) * 'dash' - dash stream (ISO/IEC 23009-1:2022)<br/>                                                                                                                                                                                                                   | dash                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `secondsPerSegment`                                                                                                                                                                                                                                                                                                                                                                                                                                        | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Number of seconds to include in each transcoded segment                                                                                                                                                                                                                                                                                                                                                                                                    | 5                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `subtitleSize`                                                                                                                                                                                                                                                                                                                                                                                                                                             | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Percentage of original subtitle size to use when burning subtitles (100 is equivalent to original size, 50 is half, ect)                                                                                                                                                                                                                                                                                                                                   | 50                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `subtitles`                                                                                                                                                                                                                                                                                                                                                                                                                                                | [Optional\<Subtitles>](../../models/shared/Subtitles.md)                                                                                                                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Indicates how subtitles should be included: * 'auto' - Compute the appropriate subtitle setting automatically * 'burn' - Burn the selected subtitle; auto if no selected subtitle * 'none' - Ignore all subtitle streams * 'sidecar' - The selected subtitle should be provided as a sidecar * 'embedded' - The selected subtitle should be provided as an embedded stream * 'segmented' - The selected subtitle should be provided as a segmented stream<br/> | Burn                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `videoBitrate`                                                                                                                                                                                                                                                                                                                                                                                                                                             | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Target video bitrate (in kbps).                                                                                                                                                                                                                                                                                                                                                                                                                            | 12000                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `videoQuality`                                                                                                                                                                                                                                                                                                                                                                                                                                             | *Optional\<Long>*                                                                                                                                                                                                                                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Target photo quality.                                                                                                                                                                                                                                                                                                                                                                                                                                      | 50                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `videoResolution`                                                                                                                                                                                                                                                                                                                                                                                                                                          | *Optional\<String>*                                                                                                                                                                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                                                                                                                         | Target maximum video resolution.                                                                                                                                                                                                                                                                                                                                                                                                                           | 1080x1080                                                                                                                                                                                                                                                                                                                                                                                                                                                  |