mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 04:20:52 +00:00
18 KiB
18 KiB
GetAllMediaLibraryStream
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
::Integer | ✔️ | Unique stream identifier. | 1002625 |
stream_type |
::Integer | ✔️ | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
default |
T.nilable(T::Boolean) | ➖ | Indicates if this stream is default. | true |
codec |
::String | ✔️ | Codec used by the stream. | hevc |
index |
::Integer | ✔️ | Index of the stream. | 0 |
bitrate |
T.nilable(::Integer) | ➖ | Bitrate of the stream. | 24743 |
language |
T.nilable(::String) | ➖ | Language of the stream. | English |
language_tag |
T.nilable(::String) | ➖ | Language tag (e.g., en). | en |
language_code |
T.nilable(::String) | ➖ | ISO language code. | eng |
header_compression |
T.nilable(T::Boolean) | ➖ | Indicates whether header compression is enabled. | true |
dovibl_compat_id |
T.nilable(::Integer) | ➖ | Dolby Vision BL compatibility ID. | 1 |
dovibl_present |
T.nilable(T::Boolean) | ➖ | Indicates if Dolby Vision BL is present. | true |
doviel_present |
T.nilable(T::Boolean) | ➖ | Indicates if Dolby Vision EL is present. | false |
dovi_level |
T.nilable(::Integer) | ➖ | Dolby Vision level. | 6 |
dovi_present |
T.nilable(T::Boolean) | ➖ | Indicates if Dolby Vision is present. | true |
dovi_profile |
T.nilable(::Integer) | ➖ | Dolby Vision profile. | 8 |
dovirpu_present |
T.nilable(T::Boolean) | ➖ | Indicates if Dolby Vision RPU is present. | true |
dovi_version |
T.nilable(::String) | ➖ | Dolby Vision version. | 1.0 |
bit_depth |
T.nilable(::Integer) | ➖ | Bit depth of the video stream. | 10 |
chroma_location |
T.nilable(::String) | ➖ | Chroma sample location. | topleft |
chroma_subsampling |
T.nilable(::String) | ➖ | Chroma subsampling format. | 4:2:0 |
coded_height |
T.nilable(::Integer) | ➖ | Coded video height. | 1608 |
coded_width |
T.nilable(::Integer) | ➖ | Coded video width. | 3840 |
closed_captions |
T.nilable(T::Boolean) | ➖ | N/A | true |
color_primaries |
T.nilable(::String) | ➖ | Color primaries used. | bt2020 |
color_range |
T.nilable(::String) | ➖ | Color range (e.g., tv). | tv |
color_space |
T.nilable(::String) | ➖ | Color space. | bt2020nc |
color_trc |
T.nilable(::String) | ➖ | Color transfer characteristics. | smpte2084 |
frame_rate |
T.nilable(::Float) | ➖ | Frame rate of the stream. | 23.976 |
height |
T.nilable(::Integer) | ➖ | Height of the video stream. | 1602 |
level |
T.nilable(::Integer) | ➖ | Video level. | 150 |
original |
T.nilable(T::Boolean) | ➖ | Indicates if this is the original stream. | true |
has_scaling_matrix |
T.nilable(T::Boolean) | ➖ | N/A | false |
profile |
T.nilable(::String) | ➖ | Video profile. | main 10 |
scan_type |
T.nilable(::String) | ➖ | N/A | progressive |
embedded_in_video |
T.nilable(::String) | ➖ | N/A | progressive |
ref_frames |
T.nilable(::Integer) | ➖ | Number of reference frames. | 1 |
width |
T.nilable(::Integer) | ➖ | Width of the video stream. | 3840 |
display_title |
::String | ✔️ | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
extended_display_title |
::String | ✔️ | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
selected |
T.nilable(T::Boolean) | ➖ | Indicates if this stream is selected (applicable for audio streams). | true |
forced |
T.nilable(T::Boolean) | ➖ | N/A | true |
channels |
T.nilable(::Integer) | ➖ | Number of audio channels (for audio streams). | 6 |
audio_channel_layout |
T.nilable(::String) | ➖ | Audio channel layout. | 5.1(side) |
sampling_rate |
T.nilable(::Integer) | ➖ | Sampling rate for the audio stream. | 48000 |
can_auto_sync |
T.nilable(T::Boolean) | ➖ | Indicates if the stream can auto-sync. | false |
hearing_impaired |
T.nilable(T::Boolean) | ➖ | Indicates if the stream is for the hearing impaired. | true |
dub |
T.nilable(T::Boolean) | ➖ | Indicates if the stream is a dub. | true |
title |
T.nilable(::String) | ➖ | Optional title for the stream (e.g., language variant). | SDH |