Optionalinitpath: stringOptionalparent: PlexObjectOptionalaccessibleOptionalaudioAudio profile of the part (ex: lc).
OptionaldecisionTranscode decision for this part in a playback session (ex: directplay).
OptionaldeepDeep analysis version Plex used for this part.
OptionaldurationOptionalexistsOptionalfileLocal path, absent for media without a file on this server.
Optionalhas64bitTrue if the file uses 64 bit offsets.
OptionalhasTrue if the file has embedded artwork.
OptionalindexesPlex relative url, when the payload includes one.
OptionalpacketPacket length of the part, when Plex analyzed it.
Optional ReadonlyparentWeakRef to the parent object that this object is built from.
OptionalprotocolStreaming protocol for this part in a playback session (ex: dash).
OptionalrequiredRequired bandwidths for streaming this part.
OptionalselectedTrue if this part is selected in a playback session.
ReadonlyserverOptionalsizeOptionalsyncOptionalsyncOptionalvideoStaticTAGxml element tag
StaticTYPExml element type
Returns a list of AudioStream objects in this MediaPart.
Returns true if this object was built from a parent of the given class.
Returns a list of LyricStream objects in this MediaPart.
Refreshing a Library or individual item causes the metadata for the item to be refreshed, even if it already has metadata. You can think of refreshing as "update metadata for the requested item even if it already has some". You should refresh a Library or individual item if:
Reload the data for this object from this.key.
Optionalekey: stringDisable subtitles for this media part.
Set the selected AudioStream for this MediaPart.
Audio stream or stream ID to set as selected.
Set the selected SubtitleStream for this MediaPart.
Subtitle stream or stream ID to set as selected.
Returns a list of SubtitleStream objects in this MediaPart.
Returns the video streams in this media part.
True if the file is readable by Plex. Only returned when checking files.