mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Update plexapi==4.15.11
This commit is contained in:
parent
653a6d5c12
commit
85519b1b45
8 changed files with 173 additions and 16 deletions
|
@ -503,6 +503,8 @@ class Collection(
|
|||
:class:`~plexapi.collection.Collection`: A new instance of the created Collection.
|
||||
"""
|
||||
if smart:
|
||||
if items:
|
||||
raise BadRequest('Cannot create a smart collection with items.')
|
||||
return cls._createSmart(server, title, section, limit, libtype, sort, filters, **kwargs)
|
||||
else:
|
||||
return cls._create(server, title, section, items)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue