diff --git a/lib/plexapi/media.py b/lib/plexapi/media.py index 6bb51cf2..e827853f 100644 --- a/lib/plexapi/media.py +++ b/lib/plexapi/media.py @@ -120,6 +120,7 @@ class MediaPart(PlexObject): self.size = cast(int, data.attrib.get('size')) self.decision = data.attrib.get('decision') self.optimizedForStreaming = cast(bool, data.attrib.get('optimizedForStreaming')) + self.packetLength = cast(int, data.attrib.get('packetLength')) self.requiredBandwidths = data.attrib.get('requiredBandwidths') self.syncItemId = cast(int, data.attrib.get('syncItemId')) self.syncState = data.attrib.get('syncState') @@ -273,6 +274,14 @@ class VideoStream(MediaPartStream): self.colorRange = data.attrib.get('colorRange') self.colorSpace = data.attrib.get('colorSpace') self.colorTrc = data.attrib.get('colorTrc') + self.DOVIBLCompatID = cast(int, data.attrib.get('DOVIBLCompatID')) + self.DOVIBLPresent = cast(bool, data.attrib.get('DOVIBLPresent')) + self.DOVIELPresent = cast(bool, data.attrib.get('DOVIELPresent')) + self.DOVILevel = cast(int, data.attrib.get('DOVILevel')) + self.DOVIPresent = cast(bool, data.attrib.get('DOVIPresent')) + self.DOVIProfile = cast(int, data.attrib.get('DOVIProfile')) + self.DOVIRPUPresent = cast(bool, data.attrib.get('DOVIRPUPresent')) + self.DOVIVersion = cast(float, data.attrib.get('DOVIVersion')) self.duration = cast(int, data.attrib.get('duration')) self.frameRate = cast(float, data.attrib.get('frameRate')) self.frameRateMode = data.attrib.get('frameRateMode')