mpdlrc

command module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2022 License: MIT-0 Imports: 10 Imported by: 0

README

mpdlrc

https://github.com/eNV25/mpdlrc/

Install

Installation requires a go compiler and the go tool.

Install to ${GOPATH:-$HOME/go}/bin using the go tool.

$ go install github.com/env25/mpdlrc@latest

or use master branch

$ go install github.com/env25/mpdlrc@master

NOTE: You may need to add ${GOPATH:-$HOME/go}/bin to $PATH.

Set up and Configure

You must set up MPD first. If you use MPD_HOST (and MPD_PORT) for the mpc command-line client see man:mpc(1), mpdlrc will pick those up. If you use a unix socket to connect to mpd no further configuration is required. Otherwise, since mpd doesn't allow clients to query the information, you need to at least configure the MusicDir option.

Configuration is done using a TOML config file. The config file should be located in ${XDG_CONFIG_HOME:-$HOME/.config}/mpdlrc/config.toml. More exhaustive documentation for the config file can be found in docs/config-docs.toml.

Example file, after setting MPD_HOST=${XDG_RUNTIME_DIR}/mpd/socket:

MusicDir = "$HOME/Music"

Run

$ mpdlrc

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL