Repository navigation
Configuration
Default locations:
- Linux:
~/.local/share/musicwasp/ - Windows:
%APPDATA%\musicwasp\
Portable / isolated mode:
MUSICWASP_DATA_DIR=/path/to/data musicwaspThe directory contains:
-
library.db- SQLite library -
library.db-wal,library.db-shm- WAL files -
settings.json- UI and playback settings -
tag-undo.json- last tag-write snapshot -
moves-undo.json- last file-organizer batch, used by Undo -
backups/- timestamped library backups - optional
skins.json- custom skin definitions, colour overrides and background images
Settings → Track options has Back up library and Restore….
- Backups are consistent SQLite files written with
VACUUM INTOintobackups/and named by UTC date and time. - Restoring validates the file, refuses while indexing is running, and writes a safety backup of the current database first.
- Only the library database is replaced.
settings.json,tag-undo.json,moves-undo.jsonandskins.jsonare kept. - After a restore, playback stops, the queue and selection are cleared and the library view reloads.
Stored values include:
- keyboard shortcuts
- equalizer
- skin and language
- folded browser sections
- track column order, visibility, widths and layout
- queue panel and lyrics panel visibility
- mini-player and tray visibility
- folder watching and watched paths
- ReplayGain and output device
- crossfade length
- ListenBrainz toggle (the token is stored separately, see below)
- local-network podcast setting (
allow_local_feeds, off by default) - organizer pattern and music folder
- session state: view, search, selection, volume, queue, window geometry
Settings are saved atomically on change.
The token is not written to settings.json. It goes to the operating system's credential store:
- Linux: Secret Service (GNOME Keyring, KWallet, or any provider on
org.freedesktop.secrets) - macOS: Keychain
- Windows: Credential Manager
Clearing the token field in Settings removes it from the store. A settings.json written by an
older version is migrated automatically the next time MusicWasp starts.
If no credential store is running (for example a bare Linux session without a Secret Service), the
token is kept in settings.json instead. That file is written with owner-only permissions (0600 on
Unix), and MusicWasp prints a notice on the terminal. Start a keyring provider to move the token out
of the file.
Optional user skins live beside settings.json. Entries replace built-ins by id or add new ids.
See Appearance and Accessibility for the schema.
The GUI reads embedded catalogues from assets/i18n/:
en.jsonfr.jsonde.jsones.json
English is the complete fallback catalogue. Keys are stable; missing keys fall back to English.
Lyrics are not stored in the data directory. MusicWasp looks for a sidecar file beside each audio
file, with the same base name and an .lrc extension (Song.flac -> Song.lrc). Uppercase .LRC
is also accepted. If no sidecar exists, lyrics embedded in the file tag are used.
The lyrics panel visibility is saved as lyrics_open in settings.json. See
Lyrics for timestamp formats and panel controls.
tracks(id, path UNIQUE, title, artist, album, album_artist, genre, year,
track_no, disc_no, duration_secs, sample_rate, bitrate, channels,
format, size_bytes, mtime, added_at, rating, play_count, skip_count,
last_played, date_added)
playlists(id, name, folder_id)
playlist_folders(id, name, parent_id)
playlist_tracks(playlist_id, track_id, position)
smart_playlists(id, name, definition)
saved_searches(id, name, query)
SQLite runs in WAL mode with a busy timeout. Schema changes are additive and migrate existing libraries in place.
Delete settings.json to reset only the UI. Delete the whole data directory to start a new library.
Audio files are never deleted by MusicWasp.