mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
6.2 KiB
6.2 KiB
GetRecentlyAddedLibraryPart
Example Usage
import { GetRecentlyAddedLibraryPart } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetRecentlyAddedLibraryPart = {
id: 120353,
key: "/library/parts/120353/1681803203/file.mp4",
duration: 7474422,
file:
"/movies/Ant-Man and the Wasp Quantumania (2023)/Ant-Man.and.the.Wasp.Quantumania.2023.1080p.mp4",
size: 3395307162,
container: "mp4",
hasThumbnail: 1,
videoProfile: "high",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
number | ➖ | N/A | 120353 |
key |
string | ➖ | N/A | /library/parts/120353/1681803203/file.mp4 |
duration |
number | ➖ | N/A | 7474422 |
file |
string | ➖ | N/A | /movies/Ant-Man and the Wasp Quantumania (2023)/Ant-Man.and.the.Wasp.Quantumania.2023.1080p.mp4 |
size |
number | ➖ | N/A | 3395307162 |
container |
string | ➖ | N/A | mp4 |
has64bitOffsets |
boolean | ➖ | N/A | |
hasThumbnail |
number | ➖ | N/A | 1 |
optimizedForStreaming |
boolean | ➖ | N/A | |
videoProfile |
string | ➖ | N/A | high |