Complete guide to Track Samurai workflows and features.
Main Principles
- Track Samurai reads and writes the tags of MP3, FLAC and OGG Vorbis files.
- Every change is first only proposed and shown in bold, so you can review it.
- Nothing is written to your files until you click Save (tags), Rename (file names) or Convert (audio format), or confirm a file name edited in the files table.
- The Scanner, File renamer, Convert and ⇒ All work on the files selected in the files table.
- Settings, window layout, folder history and pattern histories are preserved between sessions.
1. Quick Start Workflow
- Open the folder with your music (directory tree, path bar or Browse…). Turn on Include subfolders to load a whole artist or collection at once.
- After loading, all files are selected. Narrow the selection in the files table if you want to work with some of them only.
- Open the Scanner panel and click Scan to fill in tags from the folder structure.
- Click Sanitize tags to clean up the tags with the rules from Settings → Tag sanitize rules.
- Review the proposed values — changed cells are shown in bold — and fix anything by hand in the detail panel.
- Click Save to write the tags to the files.
- Optionally open the File renamer panel and click Rename to rename the files from their tags.
- Optionally click Convert to convert the selected files to the target format from Settings.
Example: The scan pattern %a/%b [%y]/%n %t followed by the rename pattern %n - %t
turns Artist/Album [2023]/1 Title.mp3 into a fully tagged 01 - Title.mp3.
2. Interface Overview
- Button bar — opens Settings and the panels and runs the bulk actions (Sanitize tags, Convert).
- Navigation bar — back / forward buttons, the current folder path with its history, and Browse….
- Scanner panel (optional) — fills in tags from file paths.
- File renamer panel (optional) — renames files from tags.
- Directory tree (left) — browse and manage folders.
- Files table (centre) — the audio files in the current folder.
- Detail panel (right) — tags, album art and audio preview of the selected file.
- Error panel (bottom) — appears only when some files could not be read.
3. Navigation and Directory Tree
- Click a folder in the directory tree, type a path into the path bar and press Enter, or pick a folder with Browse….
- The < / > buttons go back and forward through the folders you have visited.
- The arrow at the right end of the path bar opens the list of recently visited folders. Click ✕ next to an entry to remove it.
- Include subfolders loads the audio files from all nested folders, not only from the current one.
Right-click a folder in the directory tree to Create New…, Cut / Copy and Paste, Rename… or Delete it.
Copying runs in the background and can be cancelled.
Warning: Delete removes the folder permanently, including all its contents — it does not go to the recycle bin.
4. Files Table
- Every row is one audio file. The columns show the file name, file type, song title, artist, album, year, genre, track number, comment, album art and the folder path.
- Click a row to show the file in the detail panel. Use Ctrl+Click (⌘+Click on macOS), Shift+Click or Ctrl+A to select multiple files.
- Click a column header to sort. Numbers are sorted naturally (2 before 10).
- Bold values are proposed changes that have not been saved yet.
- Red rows are files that could not be read. The reason is listed in the error panel.
5. Detail Panel — Editing Tags
The detail panel shows the tags of the selected file. File name, file type and path are read-only; the tags can be edited.
Type into a field to propose a new value — it gets a highlighted background and is shown in bold in the files table.
- ⇒ All next to a field proposes its value for all selected files — the quickest way to set the same album, artist, year or genre for a whole album.
- Album art: browse the embedded images with < / >, Add an image from disk, Delete the displayed one, or use ⇒ All to apply the same images to all selected files.
- Audio preview: use Play / Pause, Stop and the position slider to listen to the selected file.
- Save writes all proposed changes of every file to disk. Revert discards them.
Warning: Unsaved proposed changes are discarded when you open another folder or toggle Include subfolders.
6. Scanner — Tags from Folder Structure
The Scanner reads tag values from the path of each selected file. The pattern describes the end of the path, without the file extension:
%a | song artist |
%b | album title |
%t | song title |
%n | track number |
%y | year |
%* | skip one folder level (may be used several times) |
Both / and \ can be used as folder separators. Any other text in the pattern must match the path literally.
Files whose path does not match the pattern are left unchanged.
Example: The pattern %a/%b [%y]/%n %t applied to Music/Rock Band/Best of [2023]/05 Sing this.mp3 gives
artist = Rock Band, album = Best of, year = 2023, track = 05, title = Sing this.
Tip: Use %a/%b/%*/%n %t for albums split into CD1, CD2 … subfolders.
- Load album art also proposes the images found in each file's folder as album art. This works even with an empty pattern.
- Sanitize tags during scan runs the sanitize rules right after every scan.
- Used patterns are kept in the history.
7. Tag Sanitization
Sanitize tags applies the rules from Settings → Tag sanitize rules to all loaded files and proposes the results as changes.
- Text fields (title, artist, album, genre, comment), each separately:
- Case change — no change, lowercase, UPPERCASE, Title Case or Sentence case.
- Remove accents / diacritics — e.g.
Dvořák → Dvorak.
- Replace underscores and
%20 with spaces.
- Remove non-alphanumerical characters, except spaces and the listed exceptions (default
.,!?'-&()).
- Year — keep only the 4-digit year (
2023-05-01 → 2023).
- Track number — keep only the leading number (
3/12 → 3).
- Remove all other tags — when saving, removes all non-standard tags from the sanitized files.
8. File Renamer
The File renamer renames the selected files from their tags using the same placeholders as the Scanner (except %*).
The file extension is kept.
Example: %n - %t gives 05 - Sing this.mp3.
- While the panel is open, the New filename column shows the new name of every selected file as you type.
Names that would cause a conflict are shown in red, names that do not change in grey.
- Use sanitized tags for renaming applies the tag sanitize rules to the tag values used in the new filenames
(e.g.
Café_Noir → cafe noir). The tags in the files are not changed.
%n is padded with zeros to at least two digits, or to the width of the highest track number in the selection.
- Characters that are not allowed in file names (
< > : " / \ | ? *) are replaced with _.
- The renamer uses the saved tag values, so save your tag changes first. The panel reminds you when selected files have unsaved changes.
- If two files would get the same name, nothing is renamed. Files whose new name already exists on disk are skipped.
To rename a single file by hand, double-click its name in the files table (or select it and press F2),
edit the name and press Enter; Esc cancels. The file is renamed on disk right away, with the same
checks as the File renamer. The extension cannot be changed.
9. Audio Conversion
Select files and click Convert to convert them to the format set in Settings → Target format.
Tags and album art are copied to the new files, which are created in the same folder. Files already in the target format are skipped.
No additional software (such as ffmpeg) is needed.
- MP3 — bitrate 64 – 320 kbps.
- FLAC — compression level 0 (fastest) – 8 (smallest file).
- OGG Vorbis — quality 0 (smallest file) – 10 (best quality).
Warning: The original files are deleted after a successful conversion.
10. Settings
- Theme — System, Light or Dark.
- Remember the last opened path — open the last folder on start-up.
- Ask for confirmation before writing changes to disk — ask before tags are saved and files are renamed.
- Check audio format when loading — decode every file while loading, so that damaged files are found immediately (slower).
- File types used — the file extensions that are loaded.
- Reset to factory defaults… — deletes all stored settings and restarts Track Samurai with the default configuration.
11. Supported File Formats
- MP3 (ID3 tags), FLAC and OGG Vorbis (Vorbis comments) — tags and album art can be read and written.
- WAV files are loaded too, so that they can be converted. Their tags are read-only.
- Conversion reads MP3, FLAC, OGG Vorbis and WAV and writes MP3, FLAC or OGG Vorbis.
12. Keyboard Shortcuts
On Windows and Linux use Alt, on macOS use ⌃ (Control).
Alt+Q | Settings |
Alt+I | Include subfolders |
Alt+N | Scanner panel |
Alt+F | File renamer panel |
Alt+T | Sanitize tags |
Alt+C | Convert |
Alt+S | Save |
Alt+R | Revert |
Enter | Open the folder typed into the path bar |
Logging
Track Samurai can write an application log to help troubleshoot issues.
- Enable logging in Settings → Enable logging.
- Select verbosity via Log level and the location via Log directory.