#NEWLINE# @ utils . deprecated ( 'prefer Mobileclient.create_playlist' ) #NEWLINE# def create_playlist( self , name , description = None , public = False ) : #NEWLINE# #INDENT# '\n        Creates a playlist and returns its id.\n\n        :param name: the name of the playlist.\n        :param description: (optional) the description of the playlist.\n        :param public: if True and the user has All Access, create a shared playlist.\n        ' #NEWLINE# res = self . _make_call ( webclient . CreatePlaylist , name , description , public ) #NEWLINE# return res [ 1 ] [ 0 ]