Quote from 2MR2 on May 31, 2015, 10:18
Yate can read, write and parse any text file.
I've taken you literally and posted an action here:
It's a little overkill but what the heck. Unzip the file and drag the 'Import Titles from Test File.plist' file to Yate's main window file list area. You should then have an action named: Import Titles from Test File
The action prompts for a text file, removes all blank lines from the content and applies the titles to the selected files (in the order listed in the main window). The action validates that the number of contained titles is the same as the number of selected files. I'm assuming that the file selection lists the files in the correct order. You can always drag and drop them to change the order. Note that the action does not save the files so you're not committed. You can always revert the changes if you're not happy.
If you want something more visual, the upcoming v3.7 will support prompting/editing of multi-line text as opposed to a single line. This will enable the changing of the action to present the list of titles which you could then rearrange.
So I've been using this for a while and it works great except for one little issue. It appears to validate the number of titles with the total number of files in the main YATE window, rather than the number of selected files in that view. I took a look at the script and, to be honest, it's totally incomprehensible to this coding illiterate. Any way to get the behavior I'm looking for, which is to label only the selected (highlighted) files?
edit: I was looking at the plist file rather than using the actions manager (rookie mistake). It makes much more sense now 😉 I'll dig into it a bit to see if I can get it to work on the selected, rather than the total, files.
Just to be clear, if I drag 3 albums/discs, let's say with 10 songs each, into the main window. If I select one of them (10 songs) and use the script I get an error that says there are 10 titles and 30 files and it will not complete.