mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 04:20:52 +00:00
17 KiB
17 KiB
GetSearchAllLibrariesMedia
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
::Integer | ✔️ | Unique media identifier. | 387322 |
duration |
T.nilable(::Integer) | ➖ | Duration of the media in milliseconds. | 9610350 |
bitrate |
T.nilable(::Integer) | ➖ | Bitrate in bits per second. | 25512 |
width |
T.nilable(::Integer) | ➖ | Video width in pixels. | 3840 |
height |
T.nilable(::Integer) | ➖ | Video height in pixels. | 1602 |
aspect_ratio |
T.nilable(::Float) | ➖ | Aspect ratio of the video. | 2.35 |
audio_channels |
T.nilable(::Integer) | ➖ | Number of audio channels. | 6 |
display_offset |
T.nilable(::Integer) | ➖ | N/A | 50 |
audio_codec |
T.nilable(::String) | ➖ | Audio codec used. | aac |
video_codec |
T.nilable(::String) | ➖ | Video codec used. | hevc |
video_resolution |
T.nilable(::String) | ➖ | Video resolution (e.g., 4k). | 4k |
container |
T.nilable(::String) | ➖ | Container format of the media. | mp4 |
video_frame_rate |
T.nilable(::String) | ➖ | Frame rate of the video. Values found include NTSC, PAL, 24p |
24p |
video_profile |
T.nilable(::String) | ➖ | Video profile (e.g., main 10). | main 10 |
has_voice_activity |
T.nilable(T::Boolean) | ➖ | Indicates whether voice activity is detected. | false |
audio_profile |
T.nilable(::String) | ➖ | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
optimized_for_streaming |
T.nilable(T.any(Models::Operations::GetSearchAllLibrariesOptimizedForStreaming1, T::Boolean)) | ➖ | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
has64bit_offsets |
T.nilable(T::Boolean) | ➖ | Indicates whether the media has 64-bit offsets. This is relevant for media files that may require larger offsets than what 32-bit integers can provide. |
false |
part |
T::Array<Models::Operations::GetSearchAllLibrariesPart> | ➖ | N/A |