#NEWLINE# def _create_tmp_playlist( self , paths_list ) : #NEWLINE# #INDENT# 'Create a temporary .m3u file. Return the filename.\n        ' #NEWLINE# m3u = NamedTemporaryFile ( 'w' , suffix = '.m3u' , delete = False ) #NEWLINE# for item in paths_list : #NEWLINE# #INDENT# m3u . write ( ( item + b'\n' ) ) #NEWLINE# #UNINDENT# m3u . close ( ) #NEWLINE# return m3u . name