I have 500 folders i need to batch create M3U file for each folder (album), currently i use export script that looks like this
$filename(m3u,ansi)#EXTM3U $loop(%_filename_ext%)#EXTINF:%_length_seconds%,%artist% - %title% %_path% $loopend()
It works great, however if folder (Album) has sub folders CD1, CD2, CD3 it creates three M3U files for each sub folder
MyMusic\Album\CD1 MyMusic\Album\CD2 MyMusic\Album\CD3
Need to modify export script to create single M3U file for whole Album that will point to mp3 files inside sub folders (CD1, CD2, CD3) and NOT 3 separate M3U files for each folder.