Files
plexjs/docs/sdk/models/operations/getlibrarysectionsallstream.md

20 KiB
Raw Blame History

GetLibrarySectionsAllStream

Example Usage

import { GetLibrarySectionsAllStream } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetLibrarySectionsAllStream = {
  id: 1002625,
  format: "srt",
  default: true,
  codec: "hevc",
  index: 0,
  bitrate: 24743,
  language: "English",
  languageTag: "en",
  languageCode: "eng",
  headerCompression: true,
  doviblCompatID: 1,
  doviblPresent: true,
  dovielPresent: false,
  doviLevel: 6,
  doviPresent: true,
  doviProfile: 8,
  dovirpuPresent: true,
  doviVersion: "1.0",
  bitDepth: 10,
  chromaLocation: "topleft",
  chromaSubsampling: "4:2:0",
  codedHeight: 1608,
  codedWidth: 3840,
  closedCaptions: true,
  colorPrimaries: "bt2020",
  colorRange: "tv",
  colorSpace: "bt2020nc",
  colorTrc: "smpte2084",
  frameRate: 23.976,
  key: "/library/streams/216389",
  height: 1602,
  level: 150,
  original: true,
  hasScalingMatrix: false,
  profile: "main 10",
  scanType: "progressive",
  embeddedInVideo: "progressive",
  refFrames: 1,
  width: 3840,
  displayTitle: "4K DoVi/HDR10 (HEVC Main 10)",
  extendedDisplayTitle: "4K DoVi/HDR10 (HEVC Main 10)",
  selected: true,
  forced: true,
  channels: 6,
  audioChannelLayout: "5.1(side)",
  samplingRate: 48000,
  canAutoSync: false,
  hearingImpaired: true,
  dub: true,
  title: "SDH",
};

Fields

Field Type Required Description Example
id number ✔️ Unique stream identifier. 1002625
streamType number ✔️ Stream type:
- VIDEO = 1
- AUDIO = 2
- SUBTITLE = 3
format string Format of the stream (e.g., srt). srt
default boolean Indicates if this stream is default. true
codec string ✔️ Codec used by the stream. hevc
index number Index of the stream. 0
bitrate number Bitrate of the stream. 24743
language string Language of the stream. English
languageTag string Language tag (e.g., en). en
languageCode string ISO language code. eng
headerCompression boolean Indicates whether header compression is enabled. true
doviblCompatID number Dolby Vision BL compatibility ID. 1
doviblPresent boolean Indicates if Dolby Vision BL is present. true
dovielPresent boolean Indicates if Dolby Vision EL is present. false
doviLevel number Dolby Vision level. 6
doviPresent boolean Indicates if Dolby Vision is present. true
doviProfile number Dolby Vision profile. 8
dovirpuPresent boolean Indicates if Dolby Vision RPU is present. true
doviVersion string Dolby Vision version. 1.0
bitDepth number Bit depth of the video stream. 10
chromaLocation string Chroma sample location. topleft
chromaSubsampling string Chroma subsampling format. 4:2:0
codedHeight number Coded video height. 1608
codedWidth number Coded video width. 3840
closedCaptions boolean N/A true
colorPrimaries string Color primaries used. bt2020
colorRange string Color range (e.g., tv). tv
colorSpace string Color space. bt2020nc
colorTrc string Color transfer characteristics. smpte2084
frameRate number Frame rate of the stream. 23.976
key string Key to access this stream part. /library/streams/216389
height number Height of the video stream. 1602
level number Video level. 150
original boolean Indicates if this is the original stream. true
hasScalingMatrix boolean N/A false
profile string Video profile. main 10
scanType string N/A progressive
embeddedInVideo string N/A progressive
refFrames number Number of reference frames. 1
width number Width of the video stream. 3840
displayTitle string ✔️ Display title for the stream. 4K DoVi/HDR10 (HEVC Main 10)
extendedDisplayTitle string ✔️ Extended display title for the stream. 4K DoVi/HDR10 (HEVC Main 10)
selected boolean Indicates if this stream is selected (applicable for audio streams). true
forced boolean N/A true
channels number Number of audio channels (for audio streams). 6
audioChannelLayout string Audio channel layout. 5.1(side)
samplingRate number Sampling rate for the audio stream. 48000
canAutoSync boolean Indicates if the stream can auto-sync. false
hearingImpaired boolean Indicates if the stream is for the hearing impaired. true
dub boolean Indicates if the stream is a dub. true
title string Optional title for the stream (e.g., language variant). SDH