'Create a temporary .m3u file. Return the filename.'

def _create_tmp_playlist(self, paths_list):

    m3u = NamedTemporaryFile('wb', suffix='.m3u', delete=False)
    for item in paths_list:
        m3u.write((item + '\n'))
    m3u.close()
    return m3u.name
