Repository navigation
Where Kopuz Keeps Its Files
Your scanned library, playlists, favorites, and runtime state live in a single
SQLite database, kopuz.db, in the config directory. Settings are mirrored
to a human-editable settings.toml next to it. Hand-edits (and hjem-managed
values, see the hjem section) apply on the next launch. Album art and
downloaded tracks stay on disk in the cache directory. (Debug builds use a
separate kopuz-debug.db and settings-debug.toml so dx serve never touches
your real data. You can override the DB location with the KOPUZ_DB_PATH env
var and the settings file with KOPUZ_CONFIG_PATH.)
On macOS:
-
~/Library/Application Support/moe.kopuz.kopuz/settings.toml- settings -
~/Library/Application Support/moe.kopuz.kopuz/kopuz.db- library, playlists, favorites, runtime state -
~/Library/Caches/moe.kopuz.kopuz/covers/- cached album art -
~/Library/Caches/moe.kopuz.kopuz/offline_tracks/- downloaded tracks
On Linux (XDG spec):
-
~/.config/kopuz/settings.toml- settings -
~/.config/kopuz/kopuz.db- library, playlists, favorites, runtime state -
~/.cache/kopuz/covers/- cached album art -
~/.cache/kopuz/offline_tracks/- downloaded tracks
On Windows (AppData):
-
%APPDATA%\kopuz\kopuz\config\settings.toml- settings -
%APPDATA%\kopuz\kopuz\config\kopuz.db- library, playlists, favorites, runtime state -
%LOCALAPPDATA%\kopuz\kopuz\cache\covers\- cached album art -
%LOCALAPPDATA%\kopuz\kopuz\cache\offline_tracks\- downloaded tracks
Note
Upgrading from an older version? On first launch Kopuz imports your existing
library.json and playlists.json into kopuz.db, leaving *.json.bak
backups behind. The old JSON files are no longer read after that.
If covers aren't showing or the library looks off, just delete the cache folder and hit rescan.