mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-10 04:20:58 +00:00
25 lines
4.9 KiB
Markdown
25 lines
4.9 KiB
Markdown
# TranscodeJob
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { TranscodeJob } from "@lukehagar/plexjs/models/operations";
|
|
|
|
let value: TranscodeJob = {};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
|
| `generatorID` | *number* | :heavy_minus_sign: | N/A |
|
|
| `key` | *string* | :heavy_minus_sign: | N/A |
|
|
| `progress` | *number* | :heavy_minus_sign: | N/A |
|
|
| `ratingKey` | *string* | :heavy_minus_sign: | N/A |
|
|
| `remaining` | *number* | :heavy_minus_sign: | The number of seconds remaining in this job |
|
|
| `size` | *number* | :heavy_minus_sign: | The size of the result so far |
|
|
| `speed` | *number* | :heavy_minus_sign: | The speed of the transcode; 1.0 means real-time |
|
|
| `targetTagID` | *number* | :heavy_minus_sign: | The tag associated with the job. This could be the tag containing the optimizer settings. |
|
|
| `thumb` | *string* | :heavy_minus_sign: | N/A |
|
|
| `title` | *string* | :heavy_minus_sign: | N/A |
|
|
| `type` | [operations.GetBackgroundTasksType](../../models/operations/getbackgroundtaskstype.md) | :heavy_minus_sign: | N/A | |