Every Sunday morning, I have to post a couple files up to a website. While retaining the previous 8 weeks in descending order.
I have an export script right now, that generates the audio.xspf file correctly, but it requires a couple manual steps before execution.
- select latest audio file
- run Action to generate tags, and correctly name file for web posting
- sort file names in descending order
- select all files
- run the export "xspf generator"
$filename(audio.xspf)<?xml version="1.0" encoding="uft-8"?> <playlist> <tracklist>$loop(a) <location>backend/audio/%_filename_ext%</location> <annotation>%title% - %artist%</annotation> <tracklist>$loopend() </playlist>
Is there an export command that I can add to the xspf generator that will select all files, and sort them by filename in descending order? I want to reduce the chances for error since I'm going to be handing the process off to the operators soon.
Thank you for your help.