mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
6.2 KiB
6.2 KiB
GetMediaArtsMetadata
Example Usage
import { GetMediaArtsMetadata } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetMediaArtsMetadata = {
key: "https://image.tmdb.org/t/p/original/ixgFmf1X59PUZam2qbAfskx2gQr.jpg",
provider: "tmdb",
ratingKey:
"https://image.tmdb.org/t/p/original/ixgFmf1X59PUZam2qbAfskx2gQr.jpg",
selected: true,
thumb:
"https://images.plex.tv/photo?height=270&width=480&minSize=1&upscale=1&url=https%3A%2F%2Fimage%2Etmdb%2Eorg%2Ft%2Fp%2Foriginal%2FixgFmf1X59PUZam2qbAfskx2gQr%2Ejpg",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
key |
string | ✔️ | The URL of the artwork. | https://image.tmdb.org/t/p/original/ixgFmf1X59PUZam2qbAfskx2gQr.jpg |
provider |
string | ➖ | The provider of the artwork. | tmdb |
ratingKey |
string | ✔️ | The URL of the artwork. | https://image.tmdb.org/t/p/original/ixgFmf1X59PUZam2qbAfskx2gQr.jpg |
selected |
boolean | ✔️ | Whether this is the selected artwork. | true |
thumb |
string | ✔️ | The URL of the artwork thumbnail. | https://images.plex.tv/photo?height=270&width=480&minSize=1&upscale=1&url=https%3A%2F%2Fimage%2Etmdb%2Eorg%2Ft%2Fp%2Foriginal%2FixgFmf1X59PUZam2qbAfskx2gQr%2Ejpg |