mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.0 KiB
5.0 KiB
GetMediaMetaDataRequest
Example Usage
import { GetMediaMetaDataRequest } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetMediaMetaDataRequest = {
ratingKey: 9518,
includeConcerts: true,
includeExtras: true,
includeOnDeck: true,
includePopularLeaves: true,
includePreferences: true,
includeReviews: true,
includeChapters: true,
includeStations: true,
includeExternalMedia: true,
asyncAugmentMetadata: true,
asyncCheckFiles: true,
asyncRefreshAnalysis: true,
asyncRefreshLocalMediaAgent: true,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ratingKey |
number | ✔️ | the id of the library item to return the children of. | 9518 |
includeConcerts |
boolean | ➖ | Include concerts data if set to true. | true |
includeExtras |
boolean | ➖ | Include extra content (e.g. bonus features). | true |
includeOnDeck |
boolean | ➖ | Include on-deck items. | true |
includePopularLeaves |
boolean | ➖ | Include popular leaves (episodes/chapters). | true |
includePreferences |
boolean | ➖ | Include preferences information. | true |
includeReviews |
boolean | ➖ | Include reviews for the content. | true |
includeChapters |
boolean | ➖ | Include chapter details. | true |
includeStations |
boolean | ➖ | Include station data. | true |
includeExternalMedia |
boolean | ➖ | Include external media data. | true |
asyncAugmentMetadata |
boolean | ➖ | Trigger asynchronous metadata augmentation. | true |
asyncCheckFiles |
boolean | ➖ | Trigger asynchronous file checking. | true |
asyncRefreshAnalysis |
boolean | ➖ | Trigger asynchronous refresh of analysis. | true |
asyncRefreshLocalMediaAgent |
boolean | ➖ | Trigger asynchronous refresh of the local media agent. | true |