There was a user request ...
Copying shortcuts to files
... for creating a shortcut file within a new folder, targetting a real file anywhere else on the disk. Such a feature would allow to create a "virtual catalog" or an user defined "view" to the existing file base. Yes, the effect is something like a m3u file could deliver too.
Mp3tag has no built in feature to create link files from real files yet.
But the idea sounds interesting, anyway, and I have tried something into this direction using the Mp3tag export feature.
I put together a Mp3tag export file, which creates a textual Visual Basic Script file.
A VBS script can run directly on a Windows operating system like a BAT or CMD script, when the Windows Script Host (WSH), a well known Windows administration tool, is installed.
The Windows Script Host is built into Microsoft Windows 98 and later versions of Microsoft Windows.
To upgrade to the latest version of Windows Script Host, search for "Windows Script Host" on the Microsoft Download Center.
You can determine your Windows Script Host version number by typing CScript at a command prompt.
The attached Mp3tag export script demonstrates how it could be realized to build a folder tree full of link files pointing to real files, still residing in there home folders.
Mp3tag provides the data and the Windows Shell does the filesystem job.
My proposal script will create a folder tree starting at a given root folder e. g. "O:\TEST\BPM".
Because of some quirks in the Mp3tag export scripting language, this root folder has to be defined respectively adapted in the export script at different places, see lines which contain "$puts(My_RootFolder,'...".
For each different BPM value in the group of selected tracks the script will create a new folder named by this specific BPM value, e. g. BPM value is 120, the folder is named to "BPM 120".
Within this folder there will be created a link file (or more), which points to the physical file with the correlating BPM value.
This way all files with the same BPM value, respectively their link files, will be aggregated into one folder. Note: This can only work successfully when each filename is unique!
When using additionally VB script code, it should be possible to ask the user for more input details or let pick the root folder by a standard Open Folder system dialog. This task is left to the user.
When Mp3tag has finished the "20100913.BuildCat_BPM.mte" export script, the result is a text file named "BuildCat_BPM.vbs".
If execution of VBS scripts is allowed on the system, then the VBS script can be executed automatically by answering "Yes" to the last export dialog ("show result").
Enjoy!
20100913.BuildCat_BPM.mte (2.07 KB)
DD.20100913.2145.CEST
Edit. Small changes in the export script.
DD.20100914.1042.CEST
20100913.BuildCat_BPM.mte (2.07 KB)