Home

Awesome

stmp stmp-git GitHub license

STMP (subsonic terminal music player)

A terminal client for *sonic music servers. Inspired by ncmpcpp.

Features

Dependencies

Go build dependencies

macOS path setup

Homebrew

On macOS, if you installed mpv with brew you'll need to set the following paths:

export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH
export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH

MacPorts

Alternatively, if you installed mpv with MacPorts, set these paths:

export C_INCLUDE_PATH=/opt/local/include:$C_INCLUDE_PATH
export LIBRARY_PATH=/opt/local/lib:$LIBRARY_PATH

Compiling

stmp should compile normally with go build. Cgo is needed for linking the libmpv header.

Configuration

stmp looks for a config file called stmp.toml in either $HOME/.config/stmp or the directory in which the executable is placed.

Example configuration

[auth]
username = 'admin'
password = 'password'
plaintext = true  # Use 'legacy' unsalted password auth. (default: false)

[server]
host = 'https://your-subsonic-host.tld'
scrobble = true   # Use Subsonic scrobbling for last.fm/ListenBrainz (default: false)

Usage