From 5696110b088f88c1a35602d77c89a1cdb2a63d75 Mon Sep 17 00:00:00 2001 From: shawnsethi Date: Tue, 20 Mar 2018 11:30:07 -0400 Subject: [PATCH] Add sourceVideoCodec to TranscodeSession --- plexapi/media.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plexapi/media.py b/plexapi/media.py index 4910fc58..7a9ce41b 100644 --- a/plexapi/media.py +++ b/plexapi/media.py @@ -297,6 +297,7 @@ class TranscodeSession(PlexObject): self.remaining = cast(int, data.attrib.get('remaining')) self.speed = cast(int, data.attrib.get('speed')) self.throttled = cast(int, data.attrib.get('throttled')) + self.sourceVideoCodec = data.attrib.get('sourceVideoCodec') self.videoCodec = data.attrib.get('videoCodec') self.videoDecision = data.attrib.get('videoDecision') self.width = cast(int, data.attrib.get('width'))