Merge pull request #262 from shawnsethi/patch-1

Add sourceVideoCodec to TranscodeSession
This commit is contained in:
Michael Shepanski 2018-03-20 11:49:53 -04:00 committed by GitHub
commit 75bf75f703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))