mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Fix plexapi.library.Collections.children()
* Fixes Tautulli/Tautulli-Issues#290
This commit is contained in:
parent
b41249cfa8
commit
0a86f24095
1 changed files with 3 additions and 2 deletions
|
@ -1197,9 +1197,10 @@ class Collections(PlexPartialObject):
|
|||
self.type = data.attrib.get('type')
|
||||
self.updatedAt = utils.toDatetime(data.attrib.get('updatedAt'))
|
||||
|
||||
@property
|
||||
def children(self):
|
||||
return self.fetchItems(self.key)
|
||||
""" Returns a list of all items in the collection. """
|
||||
key = '/library/metadata/%s/children' % self.ratingKey
|
||||
return self.fetchItems(key)
|
||||
|
||||
@property
|
||||
def thumbUrl(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue