mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
3.6 KiB
3.6 KiB
Server
Example Usage
import { Server } from "@lukehagar/plexjs/sdk/models/operations";
let value: Server = {
name: "iPad",
host: "10.10.10.102",
address: "10.10.10.102",
port: 32500,
machineIdentifier: "A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05",
version: "8.17",
protocol: "plex",
product: "Plex for iOS",
deviceClass: "tablet",
protocolVersion: 2,
protocolCapabilities: "playback,playqueues,timeline,provider-playback",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name |
string | ➖ | N/A | iPad |
host |
string | ➖ | N/A | 10.10.10.102 |
address |
string | ➖ | N/A | 10.10.10.102 |
port |
number | ➖ | N/A | 32500 |
machineIdentifier |
string | ➖ | N/A | A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05 |
version |
string | ➖ | N/A | 8.17 |
protocol |
string | ➖ | N/A | plex |
product |
string | ➖ | N/A | Plex for iOS |
deviceClass |
string | ➖ | N/A | tablet |
protocolVersion |
number | ➖ | N/A | 2 |
protocolCapabilities |
string | ➖ | N/A | playback,playqueues,timeline,provider-playback |