add art attrib to library.Collection

addressing #511
This commit is contained in:
blacktwin 2020-06-09 13:36:37 -04:00
parent 70dd6704be
commit 81dcd58618

View file

@ -1125,6 +1125,7 @@ class Collections(PlexObject):
self.ratingKey = utils.cast(int, data.attrib.get('ratingKey'))
self._details_key = "/library/metadata/%s%s" % (self.ratingKey, self._include)
self.addedAt = utils.toDatetime(data.attrib.get('addedAt'))
self.art = data.attrib.get('art')
self.childCount = utils.cast(int, data.attrib.get('childCount'))
self.collectionMode = data.attrib.get('collectionMode')
self.collectionSort = data.attrib.get('collectionSort')