mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
2.8 KiB
2.8 KiB
Player
Example Usage
import { Player } from "@lukehagar/plexjs/sdk/models/operations";
let value: Player = {
address: "10.10.10.171",
machineIdentifier: "3tsdzir85m2onc3qyr255aq1",
model: "standalone",
platform: "windows",
platformVersion: "10.0.22621",
product: "Plex for Windows",
profile: "Plex Desktop",
remotePublicAddress: "68.248.140.20",
state: "playing",
title: "DESKTOP-BL80MTD",
version: "1.85.0.4071-21128b56",
local: true,
relayed: false,
secure: true,
userID: 1,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
address |
string | ➖ | N/A | 10.10.10.171 |
machineIdentifier |
string | ➖ | N/A | 3tsdzir85m2onc3qyr255aq1 |
model |
string | ➖ | N/A | standalone |
platform |
string | ➖ | N/A | windows |
platformVersion |
string | ➖ | N/A | 10.0.22621 |
product |
string | ➖ | N/A | Plex for Windows |
profile |
string | ➖ | N/A | Plex Desktop |
remotePublicAddress |
string | ➖ | N/A | 68.248.140.20 |
state |
string | ➖ | N/A | playing |
title |
string | ➖ | N/A | DESKTOP-BL80MTD |
version |
string | ➖ | N/A | 1.85.0.4071-21128b56 |
local |
boolean | ➖ | N/A | true |
relayed |
boolean | ➖ | N/A | false |
secure |
boolean | ➖ | N/A | true |
userID |
number | ➖ | N/A | 1 |