def _write_m3u(m3u_path, items_paths):
 mkdirall(m3u_path)
 with open(syspath(m3u_path), 'ab') as f:
  for path in items_paths:
   f.write((path + '\n'))

def _write_m3u ( m3u_path , items_paths ) : mkdirall ( m3u_path ) with open ( syspath ( m3u_path ) , 'ab' ) as f : for path in items_paths : f . write ( ( path + '\n' ) )
append relative paths to items into m3u file .