mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
6.7 KiB
6.7 KiB
GetGlobalHubsMetadata
Example Usage
import { GetGlobalHubsMetadata } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetGlobalHubsMetadata = {
ratingKey: "57070",
key: "/playlists/57070/items",
guid: "com.plexapp.agents.none://9fee6c5b-3143-4923-813e-57bd0190056c",
type: "playlist",
title: "November Movie Day",
titleSort: "Tracks",
summary: "",
smart: false,
playlistType: "video",
composite: "/playlists/57070/composite/1668787730",
icon: "playlist://image.smart",
viewCount: 2,
lastViewedAt: 1668787732,
duration: 16873000,
leafCount: 3,
addedAt: 1668779618,
updatedAt: 1668787730,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ratingKey |
string | ➖ | N/A | 57070 |
key |
string | ➖ | N/A | /playlists/57070/items |
guid |
string | ➖ | N/A | com.plexapp.agents.none://9fee6c5b-3143-4923-813e-57bd0190056c |
type |
string | ➖ | N/A | playlist |
title |
string | ➖ | N/A | November Movie Day |
titleSort |
string | ➖ | N/A | Tracks |
summary |
string | ➖ | N/A | |
smart |
boolean | ➖ | N/A | false |
playlistType |
string | ➖ | N/A | video |
composite |
string | ➖ | N/A | /playlists/57070/composite/1668787730 |
icon |
string | ➖ | N/A | playlist://image.smart |
viewCount |
number | ➖ | N/A | 2 |
lastViewedAt |
number | ➖ | N/A | 1668787732 |
duration |
number | ➖ | N/A | 16873000 |
leafCount |
number | ➖ | N/A | 3 |
addedAt |
number | ➖ | N/A | 1668779618 |
updatedAt |
number | ➖ | N/A | 1668787730 |