Library import
You can import a library into Crateforge from either the iTunes / Music Library.xml or your own music files.
Screenshots to be added
Importing the iTunes / Music Library.xml
Section titled “Importing the iTunes / Music Library.xml”From “📥 Import XML” in the toolbar, select an iTunes Library.xml (Apple plist format).
- It is read with a streaming SAX parser, so even large libraries import fast.
- The import uses streaming parsing and reproduces tracks, playlists, and the folder hierarchy (Persistent ID / Parent Persistent ID).
- The import is performed as a full replacement of the library (merging diffs into an existing XML is not supported).
Where the Library.xml is
Section titled “Where the Library.xml is”- macOS — Enabling “Share XML” in the Music app’s preferences exports it (on older iTunes,
~/Music/iTunes/iTunes Library.xml). - Windows — Usually
%USERPROFILE%\Music\iTunes\iTunes Library.xml.
Importing music files
Section titled “Importing music files”With “🎵 Add Files” in the toolbar, you can import your own music files directly (multiple selection supported).
- Supported formats: FLAC / MP3 / M4A / WAV / Ogg / Opus / AIFF and more.
- Tags (title / artist / album / genre / year, etc.) are read with
lofty. - The BPM tag (TBPM / tmpo / Vorbis BPM) is also read on import.
Importing whole folders (Add Folder / drag and drop)
Section titled “Importing whole folders (Add Folder / drag and drop)”Pick a folder with “Add Folder” in the toolbar (inside the ⋯ menu when the window is narrow) and it walks subfolders recursively, importing every supported file it finds. Dragging and dropping onto the window goes through the same path, so you can drop a mix of files and folders.
- Only files with a supported extension are imported (everything else is ignored).
- Hidden files and folders (starting with
.) are skipped (.DS_Storeand friends). Files you point at explicitly are imported even if they are hidden. - Files already in the library (same path) are skipped, so dropping the same folder again never creates duplicates.
- Symlink loops are detected and cut off, and unreadable folders are skipped so the rest still imports.
- The result is shown as a toast: how many were imported, how many were skipped as already imported, and how many failed.
- Imported tracks land in the Inbox in the sidebar, where you can rate them and add them to the Crate.
Organize folder (auto-organize)
Section titled “Organize folder (auto-organize)”If you set an “organize folder (library root)” in settings, files are placed under
<organize folder>/<album artist>/<album>/ with iTunes-style renaming on import and edit.
Using “Auto-detect” in settings infers the organize folder from the paths of existing tracks and sets it.
Writing tags back to files
Section titled “Writing tags back to files”When you edit a track (Get Info / Ctrl + I), Crateforge updates the database and writes the tags back to the
actual file (ID3 / Vorbis / MP4). No organize folder is required — tags are written back even when it is not set
(when it is set, the file is also moved and renamed into place).
The write-back includes the following as well.
- BPM — written as an integer to TBPM (ID3v2) / tmpo (MP4) /
BPM(Vorbis Comments). The track’s own BPM takes priority, falling back to the analysis result. - Key — written to InitialKey (ID3v2 TKEY / MP4 initialkey / Vorbis INITIALKEY) in musical notation
(
Am/F#m/C), not Camelot, because that is what rekordbox / Serato / Traktor read. A manually overridden key takes precedence; otherwise the analyzed key is used.
Deleting tracks / revealing files
Section titled “Deleting tracks / revealing files”Right-click a track for the following actions.
- “Finder / エクスプローラで表示” (Reveal in file manager) — opens the track’s file in your OS file manager (selected in Finder on macOS, selected in Explorer on Windows, and the parent folder on Linux).
- “ライブラリから削除…” (Delete from library…) — removes the selected tracks from the library (the database). In the confirmation dialog you can also check “delete the files too” to remove the actual files. If a deleted track was playing or queued, playback stops and it is removed from the queue.
Fixing missing files (broken links)
Section titled “Fixing missing files (broken links)”Tracks whose files can no longer be found — because an external drive or NAS was disconnected, or the files were moved in Finder — are shown as missing (“見つかりません”).
- “リンク切れを再チェック” (Re-check missing files) (on the right of the toolbar, or inside the ⋯ menu when the window is narrow) — checks again whether every track’s file still exists. Tracks whose files have disappeared become missing, and tracks whose files are back (for example after reconnecting the drive) return to normal. Progress and the result (“N 曲のファイルが見つかりません” — N files not found) are shown below the toolbar.
- Type
missing:yesin the search box to list only the missing tracks (missing:nolists tracks whose files exist). - Right-click a track → “ファイルの場所を指定…” (Locate file…) (single selection) — pick the file at its new location in the file dialog and the track is repointed to it. Play counts, ratings, playlists and analysis results are kept. You can repoint tracks that are not missing, too.
Exporting iTunes-compatible XML
Section titled “Exporting iTunes-compatible XML”With “📤 Export XML” in the toolbar, you can export an iTunes Library.xml (Apple plist format).
You can hand it to DJ software that reads iTunes XML, such as rekordbox / Serato / Traktor.
The exported XML includes the following.
Major/Minor Version/Date/Application Version/Library Persistent IDheaders- A
Tracksdictionary (Track ID keys, all fields) - A
Playlistsarray (folder hierarchy via Persistent ID / Parent Persistent ID, withPlaylist Itemsreferencing trackId) - Strings escape
&<>as numeric character references, and file paths are percent-encoded intofile://URLs
Auto-export
Section titled “Auto-export”Turning on the 🕐 toggle in the toolbar automatically exports the Library XML only when there have been changes, roughly every 30 minutes plus on exit. This is handy when you always want to keep your DJ software fed with the latest library.
When an auto-export succeeds, library.db is backed up along with it
(toggle it under library backups in settings).
Importing from a CD (ripping)
Section titled “Importing from a CD (ripping)”From “💿 Rip CD” in the toolbar, you can import a physical CD (track info is fetched automatically from MusicBrainz, and cover art from the Cover Art Archive).
-
Choose the Drive and click “🔍 Detect Disc”. Connected CD drives (e.g.
E:on Windows,/dev/sr0//dev/cdromon Linux) are listed automatically, and the drive that was last read successfully is remembered as the next default. If yours isn’t listed, pick “その他…” (Other) to type it manually (fallback defaults when nothing is detected: Linux:/dev/cdrom, macOS:disk1, Windows:D:)While the app is running, CD drives are watched automatically: inserting a disc shows a “CD を検出しました” (CD detected) dialog, and clicking “取り込む” (Import) opens Rip CD with that drive selected.
-
The TOC is read and candidate albums from MusicBrainz are displayed automatically
-
Re-pick the release if needed, and select the tracks
-
Specify the Format (FLAC / ALAC / MP3 / WAV) and the Output folder, then click “▶ Start Ripping”
-
While ripping, a progress card appears at the bottom right (above the player bar), showing an overall progress bar, “track n / total”, the current track, and the stage (reading / encoding). Click it (or press Enter) to open the log
-
When done, it is added to the library automatically (when the option is on). A short chime plays on completion (a lower tone on failure); you can turn it off in Settings → General → “CD rip completion sound” (labeled 「CD 取り込みの完了音」 in the UI)
Using your tracks on a CDJ
Section titled “Using your tracks on a CDJ”Playlists of the tracks you imported can be exported to a USB stick for CDJ / XDJ players, optionally with your Traktor cues and grids. See USB export (CDJ / rekordbox-compatible).