Files
plexjs/docs/models/getondeckpart.md

4.3 KiB
Raw Blame History

GetOnDeckPart

Example Usage

import { GetOnDeckPart } from "@lukehagar/plexjs";

let value: GetOnDeckPart = {
    id: 80994,
    key: "/library/parts/80994/1655007810/file.mkv",
    duration: 420080,
    file: "/tvshows/Bluey (2018)/Bluey (2018) - S02E33 - Circus.mkv",
    size: 55148931,
    audioProfile: "lc",
    container: "mkv",
    videoProfile: "main",
    stream: [
        {
            id: 211234,
            streamType: 1,
            codec: "hevc",
            index: 0,
            bitrate: 918,
            language: "English",
            languageTag: "en",
            languageCode: "eng",
            bitDepth: 8,
            chromaLocation: "left",
            chromaSubsampling: "4:2:0",
            codedHeight: 1080,
            codedWidth: 1920,
            colorRange: "tv",
            frameRate: 25,
            height: 1080,
            level: 120,
            profile: "main",
            refFrames: 1,
            width: 1920,
            displayTitle: "1080p (HEVC Main)",
            extendedDisplayTitle: "1080p (HEVC Main)",
        },
    ],
};

Fields

Field Type Required Description Example
id number N/A 80994
key string N/A /library/parts/80994/1655007810/file.mkv
duration number N/A 420080
file string N/A /tvshows/Bluey (2018)/Bluey (2018) - S02E33 - Circus.mkv
size number N/A 55148931
audioProfile string N/A lc
container string N/A mkv
videoProfile string N/A main
stream models.GetOnDeckStream[] N/A