I am creating an export to create a playlist of selected tracks, which I have imported from an iTunes playlist based on ratings. So far I have
$filename(M:\MP3\%artist%\%artist% - Favourite Tracks.m3u)#EXTM3U
$loop(%track%)$loop(%_filename_ext%)#EXTINF:%_length_seconds%,%artist% - %title%
My folder structure is
M:\MP3\artist\year - album\track.mp3
I want the playlist to be saved in the artist folder. This is working, but when I run the action against all the folders for a particular artist it is only picking up the tracks within the last album. I don't want to use append data because I may need to keep rerunning this action and don't want to append duplicates to the existing file (would prefer to overwrite it with new data). I thought about using $loop(%artist%) in the script but this makes no difference.
Any idea what I need to do to change the script so that it puts all the selected tracks from all albums for that same artist in the playlist