Files

14 KiB
Raw Permalink Blame History

Part

Fields

Field Type Required Description Example
accessible T.nilable(T::Boolean) Indicates if the part is accessible. true
exists T.nilable(T::Boolean) Indicates if the part exists. true
id ::Integer ✔️ Unique part identifier. 418385
key ::String ✔️ Key to access this part. /library/parts/418385/1735864239/file.mkv
indexes T.nilable(::String) N/A sd
duration T.nilable(::Integer) Duration of the part in milliseconds. 9610350
file ::String ✔️ File path for the part. /mnt/Movies_1/W/Wicked (2024).mkv
size ::Integer ✔️ File size in bytes. 30649952104
packet_length T.nilable(::Integer) N/A 188
container T.nilable(::String) Container format of the part. mkv
video_profile T.nilable(::String) Video profile for the part. main 10
audio_profile T.nilable(::String) The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). dts
has64bit_offsets T.nilable(T::Boolean) N/A false
optimized_for_streaming T.nilable(T.any(Models::Operations::GetRecentlyAddedOptimizedForStreaming1, T::Boolean)) Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
has_thumbnail T.nilable(Models::Operations::HasThumbnail) N/A 1
stream T::Array<Models::Operations::Stream> An array of streams for this part.