#NEWLINE# def playlist( path , items = [ ] , mtime = None ) : #NEWLINE# #INDENT# return models . Playlist ( uri = path_to_uri ( items ) , name = name_from_path ( path ) , tracks = [ models . Track ( uri = item . uri , name = item . name ) for item in items ] , last_modified = ( int ( ( mtime * 1000 ) ) if mtime else None ) )