mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
6.4 KiB
6.4 KiB
GetPlaylistsMetadata
Example Usage
import { GetPlaylistsMetadata } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetPlaylistsMetadata = {
ratingKey: "92",
key: "/playlists/92/items",
guid: "com.plexapp.agents.none://7ca5aaef-58e8-4828-9e21-c009c97f2903",
type: "playlist",
title: "Static Playlist",
summary: "A Great Playlist",
smart: false,
playlistType: "video",
composite: "/playlists/92/composite/1705716440",
icon: "playlist://image.smart",
viewCount: 1,
lastViewedAt: 1705716298,
duration: 7328000,
leafCount: 32,
addedAt: 1705716298,
updatedAt: 1705716440,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ratingKey |
string | ➖ | N/A | 92 |
key |
string | ➖ | N/A | /playlists/92/items |
guid |
string | ➖ | N/A | com.plexapp.agents.none://7ca5aaef-58e8-4828-9e21-c009c97f2903 |
type |
string | ➖ | N/A | playlist |
title |
string | ➖ | N/A | Static Playlist |
summary |
string | ➖ | N/A | A Great Playlist |
smart |
boolean | ➖ | N/A | false |
playlistType |
string | ➖ | N/A | video |
composite |
string | ➖ | N/A | /playlists/92/composite/1705716440 |
icon |
string | ➖ | N/A | playlist://image.smart |
viewCount |
number | ➖ | N/A | 1 |
lastViewedAt |
number | ➖ | N/A | 1705716298 |
duration |
number | ➖ | N/A | 7328000 |
leafCount |
number | ➖ | N/A | 32 |
addedAt |
number | ➖ | N/A | 1705716298 |
updatedAt |
number | ➖ | N/A | 1705716440 |