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