def createPlaylist(self, title, items=None, section=None, limit=None, smart=None, **kwargs):
return Playlist.create(self, title, items=items, limit=limit, section=section, smart=smart, **kwargs)<EOL>
Creates and returns a new :class:`~plexapi.playlist.Playlist`.

            Parameters:
                title (str): Title of the playlist to be created.
                items (list<Media>): List of media items to include in the playlist.