mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
docs.
This commit is contained in:
parent
e6dbf833d4
commit
a1292173c8
1 changed files with 4 additions and 6 deletions
|
@ -153,20 +153,18 @@ class Playlist(PlexPartialObject, Playable):
|
|||
"""Create a playlist.
|
||||
|
||||
Parameters:
|
||||
server (:class:`~plexapi.server.PlexServer`): Server your connected to
|
||||
server (:class:`~plexapi.server.PlexServer`): Server your connected to.
|
||||
title (str): Title of the playlist.
|
||||
items (Iterable): Iterable of objects that should be in the playlist
|
||||
items (Iterable): Iterable of objects that should be in the playlist.
|
||||
section (:class:`~plexapi.library.LibrarySection, str):
|
||||
limit (int): default None
|
||||
smart (bool): default False
|
||||
limit (int): default None.
|
||||
smart (bool): default False.
|
||||
|
||||
**kwargs dict:
|
||||
is passed to the filters. For a example see the search method.
|
||||
|
||||
returns:
|
||||
class:`~plexapi.playlist.Playlist
|
||||
|
||||
|
||||
"""
|
||||
if smart:
|
||||
return cls._createSmart(server, title, section, limit, **kwargs)
|
||||
|
|
Loading…
Reference in a new issue