Files
plexpy/docs/models/operations/getlibraryitemsstream.md

11 KiB
Raw Blame History

GetLibraryItemsStream

Fields

Field Type Required Description Example
id int ✔️ N/A 272796
stream_type int ✔️ Type of stream (1 = video, 2 = audio, 3 = subtitle) 1
codec str ✔️ Codec used by the stream h264
index int ✔️ The index of the stream 0
default Optional[bool] Indicates if this is the default stream true
selected Optional[bool] Indicates if the stream is selected true
bitrate Optional[int] The bitrate of the stream in kbps 6273
color_primaries Optional[str] The color primaries of the video stream bt709
color_range Optional[str] The color range of the video stream tv
color_space Optional[str] The color space of the video stream bt709
color_trc Optional[str] The transfer characteristics (TRC) of the video stream bt709
bit_depth Optional[int] The bit depth of the video stream 8
chroma_location Optional[str] The chroma location of the video stream left
stream_identifier Optional[str] The identifier of the video stream 2
chroma_subsampling Optional[str] The chroma subsampling format 4:2:0
coded_height Optional[int] The coded height of the video stream 1088
coded_width Optional[int] The coded width of the video stream 1920
frame_rate Optional[float] The frame rate of the video stream 29.97
has_scaling_matrix Optional[bool] Indicates if the stream has a scaling matrix false
hearing_impaired Optional[bool] N/A false
closed_captions Optional[bool] N/A false
embedded_in_video Optional[str] N/A 1
height Optional[int] The height of the video stream 1080
level Optional[int] The level of the video codec 40
profile Optional[str] The profile of the video codec main
ref_frames Optional[int] Number of reference frames 4
scan_type Optional[str] The scan type (progressive or interlaced) progressive
width Optional[int] The width of the video stream 1920
display_title Optional[str] Display title of the stream 1080p (H.264)
extended_display_title Optional[str] Extended display title of the stream 1080p (H.264)
channels Optional[int] Number of audio channels (for audio streams) 2
language Optional[str] The language of the stream (for audio/subtitle streams) English
language_tag Optional[str] Language tag of the stream en
language_code Optional[str] Language code of the stream eng
audio_channel_layout Optional[str] The audio channel layout stereo
sampling_rate Optional[int] Sampling rate of the audio stream in Hz 48000
title Optional[str] Title of the subtitle track (for subtitle streams) English
can_auto_sync Optional[bool] Indicates if the subtitle stream can auto-sync false