I'm working on the assumption that your files contained metadata before the crash.... ie. if you open a few tracks in Yate, you can see Album, Artist and Title tags. If you do not have any metadata, ignore the following and we'll have to explore different avenues.
I've uploaded a file to:
http://2manyrobots.com/actions/ReorganizeSIngleFolder.zip
Unzip the file and via Yate>Import Preferences import the unzipped plist file.
You will now have an action named: Reorganize Single Folder
and two rename templates named: Variable1 and Title or Filename
Here's how to run:
- From the Actions menu choose Batch Processor Wizard...
- On the first panel select the 'Reorganize Single Folder' action
- On the next panel drag over your folder containing all the tracks
- On the next folder you should not select Auto-Save and you should select Verbose
- hit start
- you will be promoted for a destination folder. This is where the 'artist' folders will be placed.
Try it first on a dummy folder with a few tracks.
When you do the complete run, there will be little or no feedback as the Batch Processor only updates its display counters at the completion of a folder. As you only have one folder, pretty much nothing will be displayed. When the process finishes, View and then save the log file.
Here's what it does for every track:
- it generates a UUID
- it move the track to dest/Artist/Album/UUID.
- if Artist is empty, it uses Unknown Artist
- if Album is empty, it uses Unknown Album
- because a UUID is used, there can be no naming conflicts
- it then renames the moved tracks to the Title field with possible 'duplicate numbers' appended. If Title is empty is empty, the 'original filename' is used.
One more thing to consider. Do you want to use the Album Artist if it is present? This might keep compilations together under a single Various folder. I don't know how you organize your compilations. If you want to do so, you can use Album Artist or Artist if Album Artist is empty. A single edit will have to be made. In the action on the Move statement, change Artist to Album Artist. (Album Artist on the Move statement falls back to Artist, if empty).
|