mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 12:58:26 +00:00
only update if all is in the url
This commit is contained in:
parent
db1f9a9b39
commit
0647c714a3
1 changed files with 3 additions and 1 deletions
|
@ -378,7 +378,9 @@ class LibrarySection(PlexObject):
|
|||
raise BadRequest('ekey was not provided')
|
||||
data = self._server.query(ekey, params=url_kw)
|
||||
|
||||
self._total_size = utils.cast(int, data.attrib.get("totalSize"))
|
||||
if '/all' in ekey:
|
||||
self._total_size = utils.cast(int, data.attrib.get("totalSize"))
|
||||
|
||||
items = self.findItems(data, cls, ekey, **kwargs)
|
||||
|
||||
librarySectionID = data.attrib.get('librarySectionID')
|
||||
|
|
Loading…
Add table
Reference in a new issue