1
0
Fork
You've already forked mq
0
simple mpd client
  • Go 88.2%
  • Roff 10.2%
  • Makefile 1.6%
2026年07月05日 12:14:58 -03:00
examples docs: add configuration instructions on readme 2026年06月20日 15:35:11 -03:00
internal feat: implement --add and --list for aliases 2026年07月05日 12:09:40 -03:00
.gitignore chore: initial commit 2026年05月11日 22:39:18 -03:00
go.mod feat: implement the bases 2026年06月12日 00:06:40 -03:00
LICENSE chore: add license 2026年06月12日 00:08:21 -03:00
main.go docs: info about the path in --output 2026年07月05日 12:12:19 -03:00
Makefile docs: add manpage 2026年06月20日 15:20:30 -03:00
mq.1 docs: info about the path in --output 2026年07月05日 12:12:19 -03:00
README.md docs: add more examples on README 2026年07月05日 12:14:58 -03:00

mq

mq (music queue)

build

just run:

make

for installing:

# this need root, use doas or sudo.
make install

usage

basic usage:

# for seeing the current queue.
mq list
# to add a new song.
mq add example/some/song.mp3
# to see a directory in the mpd music directory.
mq see example
# add a new alias
mq alias --add example/some es
# use an alias on add
mq add :es
# write's the albumart to `/tmp/cover.jpg", and run a notification script everytime the song changes.
mq albumart --notify
# write's the albumart to `some.jpg" every song change.
mq albumart --output ./some.jpg
# opens man page.
mq --help

for more information on usage consult the manpage.

configuration

mq read's the config file in $XDG_CONFIG_HOME/mq/config.

# the mpd address.
addr: localhost:6600
# the music directory of mpd
base-path: ~/music
# the default command that mq will run when no args are provided.
default-command: list
# where to save the currentsong album art.
cover-path: /tmp/cover.jpg
# the notify script to run
notify-path: ~/.config/mq/notify

for config and script example see ./examples.