mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.9 KiB
5.9 KiB
GetLibrariesDirectory
Example Usage
import { GetLibrariesDirectory } from "@lukehagar/plexjs";
let value: GetLibrariesDirectory = {
allowSync: true,
art: "/:/resources/movie-fanart.jpg",
composite: "/library/sections/1/composite/1705615584",
filters: true,
refreshing: false,
thumb: "/:/resources/movie.png",
key: "1",
type: "movie",
title: "Movies",
agent: "tv.plex.agents.movie",
scanner: "Plex Movie",
language: "en-US",
uuid: "322a231a-b7f7-49f5-920f-14c61199cd30",
updatedAt: 1705615634,
createdAt: 1654131312,
scannedAt: 1705615584,
content: true,
directory: true,
contentChangedAt: 3192854,
hidden: 0,
location: [
{
id: 1,
path: "/movies",
},
],
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
allowSync |
boolean | ➖ | N/A | true |
art |
string | ➖ | N/A | /:/resources/movie-fanart.jpg |
composite |
string | ➖ | N/A | /library/sections/1/composite/1705615584 |
filters |
boolean | ➖ | N/A | true |
refreshing |
boolean | ➖ | N/A | false |
thumb |
string | ➖ | N/A | /:/resources/movie.png |
key |
string | ➖ | N/A | 1 |
type |
string | ➖ | N/A | movie |
title |
string | ➖ | N/A | Movies |
agent |
string | ➖ | N/A | tv.plex.agents.movie |
scanner |
string | ➖ | N/A | Plex Movie |
language |
string | ➖ | N/A | en-US |
uuid |
string | ➖ | N/A | 322a231a-b7f7-49f5-920f-14c61199cd30 |
updatedAt |
number | ➖ | N/A | 1705615634 |
createdAt |
number | ➖ | N/A | 1654131312 |
scannedAt |
number | ➖ | N/A | 1705615584 |
content |
boolean | ➖ | N/A | true |
directory |
boolean | ➖ | N/A | true |
contentChangedAt |
number | ➖ | N/A | 3192854 |
hidden |
number | ➖ | N/A | 0 |
location |
models.Location[] | ➖ | N/A |