Files
plexjs/docs/sdk/models/operations/getplaylistmetadata.md

46 lines
11 KiB
Markdown

# GetPlaylistMetadata
## Example Usage
```typescript
import { GetPlaylistMetadata } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetPlaylistMetadata = {
content:
"library://x/directory/%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D1%26push%3D1%26title%3D2%26or%3D1%26title%3DSerenity%26pop%3D1",
ratingKey: "95",
key: "/playlists/95/items",
guid: "com.plexapp.agents.none://87425529-380f-44b8-a689-9a0537e7ec91",
type: "playlist",
title: "Smart Movie Playlist",
summary: "",
smart: true,
playlistType: "video",
composite: "/playlists/95/composite/1705717387",
icon: "playlist://image.smart",
duration: 282000,
leafCount: 2,
addedAt: 1705716493,
updatedAt: 1705717387,
};
```
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `content` | *string* | :heavy_minus_sign: | N/A | library://x/directory/%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D1%26push%3D1%26title%3D2%26or%3D1%26title%3DSerenity%26pop%3D1 |
| `ratingKey` | *string* | :heavy_minus_sign: | N/A | 95 |
| `key` | *string* | :heavy_minus_sign: | N/A | /playlists/95/items |
| `guid` | *string* | :heavy_minus_sign: | N/A | com.plexapp.agents.none://87425529-380f-44b8-a689-9a0537e7ec91 |
| `type` | *string* | :heavy_minus_sign: | N/A | playlist |
| `title` | *string* | :heavy_minus_sign: | N/A | Smart Movie Playlist |
| `summary` | *string* | :heavy_minus_sign: | N/A | |
| `smart` | *boolean* | :heavy_minus_sign: | N/A | true |
| `playlistType` | *string* | :heavy_minus_sign: | N/A | video |
| `composite` | *string* | :heavy_minus_sign: | N/A | /playlists/95/composite/1705717387 |
| `icon` | *string* | :heavy_minus_sign: | N/A | playlist://image.smart |
| `duration` | *number* | :heavy_minus_sign: | N/A | 282000 |
| `leafCount` | *number* | :heavy_minus_sign: | N/A | 2 |
| `addedAt` | *number* | :heavy_minus_sign: | N/A | 1705716493 |
| `updatedAt` | *number* | :heavy_minus_sign: | N/A | 1705717387 |