new_playlist

@accepts(utf8, gboolean)
@returns(RB.Source)
def new_playlist(suggested_name, automatic)

Creates a new playlist and adds it to the source list.

suggested_name :

optional name to use for the new playlist

automatic :

if TRUE, create an auto playlist

Returns :

the new playlist object.