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

11 KiB
Raw Blame History

Part

Fields

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