From 81dcd58618e21a61d477f4adb9471c45934b0822 Mon Sep 17 00:00:00 2001 From: blacktwin Date: Tue, 9 Jun 2020 13:36:37 -0400 Subject: [PATCH] add art attrib to library.Collection addressing #511 --- plexapi/library.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plexapi/library.py b/plexapi/library.py index d88c68b3..7a3d9185 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -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')