General information on user-defined Tools in Mp3tag
General Information on user-defined Tools
User-defined Tools are external applications that can be added via Options > Tools to work directly from Mp3tag's main window via the context-menu of the file view (find more about this feature in the corresponding help topic.
You can also use the keyboard shortcuts Ctrl+1, Ctrl+2 to Ctrl+0 to trigger the first, second to tenth user-defined Tool on the selected files.
Parameters like %_path%
should be in quotation marks, so paths and filenames with spaces are passed properly. An example of this would be Parameter1 Parameter2 "%_path%"
Example — Open files in Windows Explorer
Note: As of Mp3tag v3.12, use File → Open in Explorer or the context menu to open files in Windows File Explorer.
The following is preserved as an example for other file explorers like Total Commander.
Name
e.g., Windows-Explorer
Path
You need to enter the path to Explorer.exe
here, usually located at C:\Windows\Explorer.exe
.
Parameter
The parameters of Windows Explorer are always seperated by comma and space,
e.g., /e, /select, "%_path%"
/e
opens Windows Explorer in two columns. On the left is the directory tree, on the right the file view. Without this parameter, only the file view will be displayed.
/select
marks the selected file. If there are several files selected in Mp3tag, only one of them will be marked.
Example — Play/Enqueue files in Winamp or foobar2000
The selected filenames should be enqueued in Winamp.
Name
e.g. Enqueue in Winamp
Path
You have to locate the path of the Winamp.exe
file. E.g. C:\Program Files\Winamp\Winamp.exe
Parameters for Winamp:
/ADD "%_path%"
Parameters for foobar2000:
/add "%_filename_ext%"
And tick for all selected files.
Example — Web Search
Search web sites for informations about your artists or albums.
Name
Name of the website, e.g., All Music or Google
Path
You need to locate the path of the web-browser executable, e.g., "C:\Program Files\Mozilla Firefox\firefox.exe"
.
Now some examples:
Parameter for Artist search on Allmusic.com:
http://www.allmusic.com/search/artist/$replace(%artist%, ,+)
Parameter for Google.com:
http://www.google.com/search?q="$replace(%artist%, ,+,&,+)"
Parameter for Google Images:
https://www.google.com/images?q="$replace(%artist% %album%, ,+,&,'%26',?,'%3F')"
You can of course add many more websites and if you find something interesting, please post them.
Example — Folder Navigation
Here is a trick to improve the navigation a little. This will give you the possibility to double click on a file in Mp3tag and open it's folder in Mp3tag.
Name
Browse folder
Path
Please locate the path of your Mp3tag.exe
Parameter
/fp:"%_folderpath%"
Finally you must select Browse folder as default program on double click.
Example — Re-encode WAV using ffmpeg
Some WAV files have an invalid structure or extra junk bytes at some RIFF chunks so re-encoding the file might fix the problems.
You can use the excellent ffmpeg command line utility as a user-defined tool from within Mp3tag.
Name
wav2wav
Path
Please locate the path of your ffmpeg.exe
Parameter
-i "%_filename_ext%" "%_folderpath%\%_filename%_out.wav"