mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.4 KiB
5.4 KiB
AddPlaylistContentsMetadata
Example Usage
import { AddPlaylistContentsMetadata } from "@lukehagar/plexjs/sdk/models/operations";
let value: AddPlaylistContentsMetadata = {
ratingKey: "94",
key: "/playlists/94/items",
guid: "com.plexapp.agents.none://972e3047-83d6-4848-a000-261f0af26ba2",
type: "playlist",
title: "A great playlist",
summary: "One of my great playlists",
smart: false,
playlistType: "video",
composite: "/playlists/94/composite/1705800070",
duration: 423000,
leafCount: 3,
addedAt: 1705716458,
updatedAt: 1705800070,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ratingKey |
string | ➖ | N/A | 94 |
key |
string | ➖ | N/A | /playlists/94/items |
guid |
string | ➖ | N/A | com.plexapp.agents.none://972e3047-83d6-4848-a000-261f0af26ba2 |
type |
string | ➖ | N/A | playlist |
title |
string | ➖ | N/A | A great playlist |
summary |
string | ➖ | N/A | One of my great playlists |
smart |
boolean | ➖ | N/A | false |
playlistType |
string | ➖ | N/A | video |
composite |
string | ➖ | N/A | /playlists/94/composite/1705800070 |
duration |
number | ➖ | N/A | 423000 |
leafCount |
number | ➖ | N/A | 3 |
addedAt |
number | ➖ | N/A | 1705716458 |
updatedAt |
number | ➖ | N/A | 1705800070 |