A music library interface with a focus on albums. Unlike most consumer music programs, musli doesn't include an audio player. Instead, it relies on the media player you already have installed (see: Compatible media players). Likewise, the program doesn't include any methods to edit metadata, requiring that your music files already be properly tagged.
Written in Go with a SQLite database.
go install github.com/micahco/musli/cmd/musli@latest
Run musli --help
for a list of options and how to use them.
musli uses a TOML configuration file. Each key has a default value.
The config file is located at: ~/.config/musli/config.toml
on Unix systems. This file will not be created automatically.
See config.toml for an example.
Default: "~/Music"
Recursively find music files in said directory.
Default: "mpv"
Command to be executed for album playback. The individual paths for each track of the selected album will be passed as arguments to the command.
The command executed will look something like this:
mpv /path/to/ablum/track1.mp3 /path/to/ablum/track2.mp3 ...
Default: "5" // magenta
Refer to charm's Lip Gloss for valid color codes.
Default: both false
Prints the command's stdout/stderr while the media player is running. Useful for debugging. Should only enable one at a time. If both are set to true
, stdout takes precedence and stderr will not be printed.
Any media player that follows the following pattern should work.
cmd [options] files...
Tested:
- mpv
- vlc
- mplayer
- parole
Flatpak versions should work as well (i.e. flatpak run io.mpv.Mpv
).