mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
add _data attrib to Optimized and Conversion
This commit is contained in:
parent
45df6b57cf
commit
8a2b8ad9c0
1 changed files with 2 additions and 0 deletions
|
@ -351,6 +351,7 @@ class Optimized(PlexObject):
|
|||
TAG = 'Optimized'
|
||||
|
||||
def _loadData(self, data):
|
||||
self._data = data
|
||||
self.id = data.attrib.get('id')
|
||||
self.composite = data.attrib.get('composite')
|
||||
self.title = data.attrib.get('title')
|
||||
|
@ -365,6 +366,7 @@ class Conversion(PlexObject):
|
|||
TAG = 'Conversion'
|
||||
|
||||
def _loadData(self, data):
|
||||
self._data = data
|
||||
self.addedAt = data.attrib.get('addedAt')
|
||||
self.art = data.attrib.get('art')
|
||||
self.chapterSource = data.attrib.get('chapterSource')
|
||||
|
|
Loading…
Reference in a new issue