Patch plexapi.library.Collections to PlexPartialObject

This commit is contained in:
JonnyWong16 2020-10-20 15:49:29 -07:00
parent ecbe79b5b9
commit ec9e2fe0f0
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 48 additions and 25 deletions

View file

@ -402,7 +402,7 @@ class Show(Video):
""" Load attribute values from Plex XML response. """
Video._loadData(self, data)
# fix key if loaded from search
self.key = self.key.replace('/children', '')
self.key = self.key.replace('/children', '') # FIX_BUG_50
self.art = data.attrib.get('art')
self.banner = data.attrib.get('banner')
self.childCount = utils.cast(int, data.attrib.get('childCount'))