mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-07 04:20:49 +00:00
17 lines
3.1 KiB
Markdown
17 lines
3.1 KiB
Markdown
# GetTimelineRequest
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
|
|
| `ratingKey` | *number* | :heavy_check_mark: | The rating key of the media item | 23409 |
|
|
| `key` | *string* | :heavy_check_mark: | The key of the media item to get the timeline for | /library/metadata/23409 |
|
|
| `state` | [models.State](../models/state.md) | :heavy_check_mark: | The state of the media item | playing |
|
|
| `hasMDE` | *number* | :heavy_check_mark: | Whether the media item has MDE | 1 |
|
|
| `time` | *number* | :heavy_check_mark: | The time of the media item | 2000 |
|
|
| `duration` | *number* | :heavy_check_mark: | The duration of the media item | 10000 |
|
|
| `context` | *string* | :heavy_check_mark: | The context of the media item | home:hub.continueWatching |
|
|
| `playQueueItemID` | *number* | :heavy_check_mark: | The play queue item ID of the media item | 1 |
|
|
| `playBackTime` | *number* | :heavy_check_mark: | The playback time of the media item | 2000 |
|
|
| `row` | *number* | :heavy_check_mark: | The row of the media item | 1 | |