mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
21 lines
2.0 KiB
Markdown
21 lines
2.0 KiB
Markdown
# UpdatePlayProgressRequest
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { UpdatePlayProgressRequest } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: UpdatePlayProgressRequest = {
|
|
key: "<key>",
|
|
time: 90000,
|
|
state: "played",
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
|
|
| `key` | *string* | :heavy_check_mark: | the media key | |
|
|
| `time` | *number* | :heavy_check_mark: | The time, in milliseconds, used to set the media playback progress. | 90000 |
|
|
| `state` | *string* | :heavy_check_mark: | The playback state of the media item. | played | |