adding art attribute to video.Video

addressing #511
This commit is contained in:
blacktwin 2020-06-09 13:37:12 -04:00
parent 81dcd58618
commit 6dc19386c2

View file

@ -34,6 +34,7 @@ class Video(PlexPartialObject):
self._data = data
self.listType = 'video'
self.addedAt = utils.toDatetime(data.attrib.get('addedAt'))
self.art = data.attrib.get('art')
self.fields = self.findItems(data, etag='Field')
self.key = data.attrib.get('key', '')
self.lastViewedAt = utils.toDatetime(data.attrib.get('lastViewedAt'))