mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
3.3 KiB
3.3 KiB
GetSessionsStream
Example Usage
import { GetSessionsStream } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetSessionsStream = {
albumGain: "-12.94",
albumPeak: "1.000000",
albumRange: "4.751014",
audioChannelLayout: "stereo",
bitDepth: 16,
bitrate: 1014,
channels: 2,
codec: "flac",
displayTitle: "FLAC (Stereo)",
extendedDisplayTitle: "FLAC (Stereo)",
gain: "-12.94",
id: "352487",
index: 0,
loudness: "-5.94",
lra: "1.74",
peak: "1.000000",
samplingRate: 44100,
selected: true,
streamType: 2,
location: "direct",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
albumGain |
string | ➖ | N/A | -12.94 |
albumPeak |
string | ➖ | N/A | 1.000000 |
albumRange |
string | ➖ | N/A | 4.751014 |
audioChannelLayout |
string | ➖ | N/A | stereo |
bitDepth |
number | ➖ | N/A | 16 |
bitrate |
number | ➖ | N/A | 1014 |
channels |
number | ➖ | N/A | 2 |
codec |
string | ➖ | N/A | flac |
displayTitle |
string | ➖ | N/A | FLAC (Stereo) |
extendedDisplayTitle |
string | ➖ | N/A | FLAC (Stereo) |
gain |
string | ➖ | N/A | -12.94 |
id |
string | ➖ | N/A | 352487 |
index |
number | ➖ | N/A | 0 |
loudness |
string | ➖ | N/A | -5.94 |
lra |
string | ➖ | N/A | 1.74 |
peak |
string | ➖ | N/A | 1.000000 |
samplingRate |
number | ➖ | N/A | 44100 |
selected |
boolean | ➖ | N/A | true |
streamType |
number | ➖ | N/A | 2 |
location |
string | ➖ | N/A | direct |